Site logo

[Resolved] change default size of featured image on single posts page

Home Forums Support [Resolved] change default size of featured image on single posts page

Home Forums Support change default size of featured image on single posts page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2600649
    Mel

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

    #2600860
    David
    Staff
    Customer Support

    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.

    #2601461
    Mel

    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.

    #2601520
    Ying
    Staff
    Customer Support

    I’m not sure which image are you referring to, do you mean this image banner?
    https://www.screencast.com/t/vWLe1LhWGJKu

    If so, these are not featured images.

    Or do you mean this?
    https://www.screencast.com/t/kSYyLrdJ

    If so, how would you like it to be smaller? I can not see a way to make it smaller and look great, can you show us a mockup?

    #2601586
    Mel

    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

    #2601868
    David
    Staff
    Customer Support

    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 ?

    #2601876
    Mel

    Thanks, David for the reply. The link to the Post with the image is
    https://www.hundetraining-mit-roya.at/staging/aktuelles/lernspaziergang/

    I also would like rounded corners for the featured image in New Pages. Here is a Page with a featured image:
    https://www.hundetraining-mit-roya.at/staging/new-test-page/

    Both these pages need login to view, please see details in the Private Information field.

    #2601886
    David
    Staff
    Customer Support

    Try this CSS:

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

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

    #2603779
    David
    Staff
    Customer Support

    Glad to hear that!

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