[Resolved] How to limit content width but make the featured image full-width

Home Forums Support [Resolved] How to limit content width but make the featured image full-width

Home Forums Support How to limit content width but make the featured image full-width

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #620835
    Sara

    I want my featured image to show as full-width, and the content below it to to be a maximum of 700px.

    What is the proper way to do this?

    I’m using GP Premium and have headers activated, but can’t seem to separate between the image width and the post content width. If I limit the content – the image is also limited.

    TIA!

    #620838
    Sara

    I figured it out. Thanks!

    #620984
    David
    Staff
    Customer Support

    Hi there, that looks like a good solution. You can of course use the GP Page Headers, just for information:

    https://docs.generatepress.com/article/page-header-overview/

    #620992
    Sara

    Thanks. I actually am using the GP headers… or so I thought.

    #620999
    David
    Staff
    Customer Support

    Thats, great – if you are then you can set the Page Header to Full width, and then define your content width in the Customsier > Layout > Container.
    Site looks great – love that style!

    #621198
    Sara

    That just doesn’t work for me. If I do it, then it changes the width of the header as well. No idea why.

    Anyway, this works so maybe I should leave it?

    But now I’m trying to do another thing: I want to have the “perfect Hero image” where the width is always 100% but the height is equal to the screen size. Do you happen to have an option for that?

    #621297
    Leo
    Staff
    Customer Support

    Then you would need to use page header with the full screen option:
    https://docs.generatepress.com/article/page-header-content/#fullscreen

    #621310
    Sara

    Oddly that makes the image appear twice!

    #621329
    Leo
    Staff
    Customer Support

    Can you try removing the featured image in the actual post?

    #621334
    Sara

    There is no featured image. Just the header.

    #621337
    Leo
    Staff
    Customer Support

    There isn’t a featured image added for that post here?
    https://docs.generatepress.com/article/adding-featured-images/

    #621346
    Sara

    No, but it turned out there was a code snippet that was messing this up. Your last question about the featured image made me realize that somehow. It works great now. Thanks for your help!

    #621358
    Leo
    Staff
    Customer Support

    No problem!

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