Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Extra space next to images when caption text is centered (http://forum.bytesforall.com/showthread.php?t=21324)

Koukla Dec 28, 2013 10:55 AM

[SOLVED] Extra space next to images when caption text is centered
 
My website is http://carolynapappas.com/

I am having a problem where it is adding extra space to the left of an image when the image caption text is centered. If I align caption text to the right, it also gets screwed up. This only seems to be apparent when the image is small, as in the second image on the page. When I align the caption text to the left, the white space goes away.

Do you know how I can delete this extra space? I have driven myself crazy trying to find it. Thanks!

lmilesw Dec 28, 2013 11:11 AM

I'm not 100% certain of what you mean but I do see that the image without the caption is 300px wide and the image with the caption is 310px. When I set the width of the captioned image to 300px in Firebug the images both line up.

Koukla Dec 28, 2013 08:52 PM

I ended up fixing it by moving the line
Code:

text-align: center;
from "Images in Posts: Caption Style" to "Caption Text: Style." I'm not sure why there would be a difference though, because that was the only line there, with no margins or padding. But now everything is left justified like I wanted it so I am happy!


All times are GMT -6. The time now is 05:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.