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)
-   -   Aligning images with captions (http://forum.bytesforall.com/showthread.php?t=17692)

legrys May 30, 2012 08:00 AM

Aligning images with captions
 
Hi there.

When I add a caption to an image it kicks the image to the right slightly (I am guessing it is adding a border or padding somewhere). If possible I would like my captioned images to line up flush left with my non-captioned images.

In Style images -> Posts I have this code:

Code:

margin-top: 0px !important;;
margin-bottom: 0px !important;;

I tried putting something similar in Caption style but to no avail. I also tried amending .wp.caption img in the CSS by adding:

Code:

.wp-caption img {
          margin: 0 !important;
          padding: 0 !important;
          border: 0 none !important;
        }

but again, no dice. Any suggestions?

I'd like to have a dotted line below the caption as well if that is possible.



Thanks!


All times are GMT -6. The time now is 10:30 PM.

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