In the Renew Stack with child theme, when I place an image with a caption inline with text on a page (or in a post) it has a thin border if I have added a caption and no border if I have no included a caption. I would like to eliminate the border on all of them. I used the code in “Remove border around blog post images” and was able to format the caption text, but it did not remove the border.
Hi @sconnell,
Thanks for writing in.
I’m a bit confused about the border you want to remove and not to remove. Would you mind providing screenshots? Do you mean removing the border should be specific to an image instead on all of them?
Thanks!
I don’t want borders around any of the images. When I place independent images or image with no embedded caption there is no border. but if I place images inline with text on a static page, I get this unwanted border. I think I have figured out the part about formatting the caption text with CSS, but cannot seem to get rid of the border.
Hi Susan,
Please add the following CSS rule into your X -> Theme Options -> CSS area to remove the border.
.wp-caption {
border: none;
}
Thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.