[Support request] Change Border Color on Images for Blog Posts

Home Forums Support [Support request] Change Border Color on Images for Blog Posts

Home Forums Support Change Border Color on Images for Blog Posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #655129
    Zhorra

    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?

    GeneratePress 2.1.3
    GP Premium 1.7.2
    #655409
    David
    Staff
    Customer Support

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.