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)
-   -   Image border Yes. Caption Border No. (http://forum.bytesforall.com/showthread.php?t=12321)

vCopia Jan 18, 2011 02:55 PM

Image border Yes. Caption Border No.
 
In posts / pages: when you have a caption under your image, is there a way to have a border around the image only and not the caption portion?

Couldn't find a post on this, and didn't see an option for it under the "Style Images" tab under the "Various Content Items" section.

I know I could leave the "caption" out when inserting the image, and then type (format) text below the image to get the desired result. However, I like the current caption text formatting and would hate to have to manually add text styling code around the caption each time I place an image.

Thanks so much.

juggledad Jan 19, 2011 05:32 PM

try this, go to ATO->Style IMAGES and set 'background: transparent;' for both the 'Images in Posts' and the 'Images in Posts: Caption Style' (you also might want to make the border 0px)

then add this to ATO->Add HTML/CSS Inserts->CSS Inserts
HTML Code:

p.wp-caption-text {
background: #00ffff;
    margin: 5px;
}



All times are GMT -6. The time now is 04:39 AM.

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