[Resolved] Featured Image

Home Forums Support [Resolved] Featured Image

Home Forums Support Featured Image

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #449237
    lionel

    Hi Tom;

    is it possible to set the Featured Image Sction for Posts to full width? If so how.

    Any help will be appreciated.

    Lionel

    #449465
    Leo
    Staff
    Customer Support

    Hi there,

    Full width of the container or full width of the page?

    #449503
    lionel

    Hi Leo;

    If you go to http://ssdelpepino.com/de-navidades-y-fiestas-patronales/ what I want is that the Post Featured Image be as wide the browser window. It seem to me that must be the Page.

    Thanks

    #449508
    Leo
    Staff
    Customer Support

    Setting the location to above content will make it full width as long as the image is big enough: https://docs.generatepress.com/article/adjusting-the-featured-images/

    #449530
    lionel

    Image is 1280 pxs wide and is set to above content. It seems to me it is wide enough.

    #449587
    Tom
    Lead Developer
    Lead Developer

    You can force the container to be full width:

    .featured-image.grid-container {
        max-width: 100%;
    }
    #449601
    lionel

    Thanks Tom.

    Do not know what is going on but there is no success.

    #449674
    Tom
    Lead Developer
    Lead Developer

    The image simply isn’t wide enough.

    You can force it to be, but it will lose quality:

    .featured-image.grid-container img {
        width: 100%;
    }
    #449716
    lionel

    Let me know how much is wide enough

    #449725
    lionel

    Issue solved. I cropped the img to 1920X600 and it worked. I let the client know about the quality and since this is a history site with images 100 years ago and more he says it does not matter.

    #449750
    Tom
    Lead Developer
    Lead Developer

    Awesome 🙂

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