This is a general styling question so not theme specific.

Is there a way to frame the image thumbnails in a post/page with a nice grey border including the image caption?

What I find sometimes when including images in posts/pages the caption gets confused with the text body and a nice grey frame separating the thumb and caption would help to make it more tidy.

I think some themes do this automatically but even using some custom css code in other forums it doesn't seem to change the thumbnails at all.
Post the url of any page or post on your website that have an image with caption, and I will give you the necessary code.
Hi,

Same issue here: http://wp.me/poJmD-dFx

WP 3.3.2
Sportpress 2.0.1
The site is in Maintenance Mode. Please PM me the admin login.
Hi,

Have you receive the admin login?
Add this code at the end of custom.css file,

.entry .wp-caption {
max-width: 616px;
border: 1px solid #DDD;
}
.entry .wp-caption img {
max-width: 606px;
padding: 5px 5px 0 5px;
}
Hi,

Solved.
Thanks Mayur

Reply to topic


Lost password?