- This topic has 5 replies, 3 voices, and was last updated 7 years, 1 month ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Image style’ is closed to new replies.
Premium Responsive WordPress Themes with advanced functionality and awesome support. Simple, Clean and Lightweight Responsive WordPress Themes
Hi Sakin,
currently, all my pictures that I add to a post have a thin, gray border around it and the caption is shown in italics. I’d like to remove the border and change the style of the caption (non italic, different color). How do I do that? I can’t find the right CSS code in the master stylesheet.
Thanks a lot,
Michaela
@Michaela: You can add the following css in “Appearance => Theme Options => Custom CSS” box:
.wp-caption {
border: none;
}
.wp-caption .wp-caption-text,
.gallery-caption, .entry-caption {
font-style: normal;
}
Hi Sakin,
thanks a lot, that worked. I also added this code to make the picture stretch over the whole width of the post:
.wp-caption img {
max-width: 100%;
}
Cheers,
Michaela
Sakin, I just tried this code to remove the borders on my posts as well, but it did not work.
http://www.fake-it.ca/fish-id-cards-2/
Thanks.
@spyglass9er: Hi John,
The above css is for Catch Kathmandu theme and you are using Simple Catch Pro theme.
For your site, you can add the following css in “Appearance => Theme Options => Custom CSS” box:
img[class*="align"],
img[class*="wp-image-"] {
border: none;
max-width: 100%;
padding: 0;
}
Note: from next time, please post in right support forum. For simple catch pro theme, you need to post it in http://catchthemes.com/support-forum/forum/simple-catch-pro-premium/