Archived topic
Change Border Color on Images for Blog Posts
1 reply · Started by Zhorra on August 20, 2018
Hi,
there are several images in our News, Events, and Spotlight pages that have white backgrounds. I'd like to add a colored stroke around the images so that they separate from the white body of the background. I'm not sure what code to enter into the CSS to get the site to do this.
Also, I would like the featured images for each post to not be so stretched out. Is there a way to change the sizing settings in the CSS or Edit Post options in WP for that too?
Hi there,
You could do this for the border:
.wp-show-posts-image {
border: 2px solid #000;
}
Featured Images sizes can be adjusted in Customiser > Layout > Blog > Featured Images.