Site logo

Archived topic

change default size of featured image on single posts page

9 replies · Started by Mel on April 7, 2023

Viewing posts 1–10 of 10

Hi, I would like to change the change default size of featured image on single posts page please.
How do I do that?

Hi there,

if its a default install of GP then you can use the Customizer > Layout > Blog:

https://docs.generatepress.com/article/adjusting-the-featured-images/

There you have Archive, Post and Pages tabs where you set the Media Attachment size of the Featured Image

If its on a site that was imported from a site library then i would need to see the site.

Hi,
It is the MyPet, a site that was imported from a site library.
Please have a look at it, thanks.
I made custom posts that link from the "Aktuelles" section on the bottom of the home page to the single custom posts. On these, I want the featured image smaller.
Thanks.

Hi, I followed David's advice and changed the featured image size in use the Customizer > Layout > Blog.
That worked.

Is there a way to make default rounded corners for the featured image?

Thanks
Mel

It requires some CSS, and depending on how the featured image is displayed will affect that CSS.
Can i see a post with the image ?

Try this CSS:

.featured-image  img {
    border-radius: 10px;
    overflow: hidden;
}

That's great, it worked.
Thanks very much!

Glad to hear that!

This archived topic is closed to new replies.