10px gap on the right side of images
Hi, I have a strange issues. I have edited the css for the image display within texts a bit (making the border smaller). It now seems that there is some built in function to automatically add 10px to the wp-caption div that the picture is in (made sense, as it made room for the extra border space?). The picture width is 265px, where is the width: 275 coming from and where can I change it?
<div class="wp-caption alignright" style="width: 275px" id="attachment_422"><a href="URL TO IMAGE"><img width="265" height="195" alt="Caption" src="URL TO IMAGE" class="size-full wp-image-422"></a><p class="wp-caption-text">CAPTION</p></div>
<div class="wp-caption alignright" style="width: 275px" id="attachment_422"><a href="URL TO IMAGE"><img width="265" height="195" alt="Caption" src="URL TO IMAGE" class="size-full wp-image-422"></a><p class="wp-caption-text">CAPTION</p></div>
Comments
What is the url to page where this happen so we can have a look on it?
As shown in the above css, the image is 265px and the div around it (wp-caption) is 275px.
http://www.techmonkey.me/baik/werkstatt/
On this it is even 371px!
http://www.techmonkey.me/baik/verleih/
The site is supposed to go live today and that can't happen with a display error this bad
What hook or part in the functions file is telling the css to add 10px? Because that is what is happening for every single image. Any way I can simply remove that function?
If I center it I will have two gaps, one left and one right
http://www.techmonkey.me/baik/ as you can see here.
The size of the div seems to be created automatically with a plus 10px (firebug shows the width to be defined in
If i just change the size in firebug it of course works - as the actually automatism of adding an image is not touched.
Sadly still not fixed
This is the actual code added into wordpress, the width is still just fine here
Thank you for your quick help! I know why I keep recommending your theme to all my customers!