[Resolved] Increase the featured image size in post

Home Forums Support [Resolved] Increase the featured image size in post

Home Forums Support Increase the featured image size in post

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1218818
    Math

    Hi,

    I’m looking to increase the featured image size within a single post to 1200px. How would I go about doing that?

    Thank you.

    #1218874
    Leo
    Staff
    Customer Support

    Hi there,

    Can you set the featured image to location for Posts to Above Content Area in the customizer first?
    https://docs.generatepress.com/article/adjusting-the-featured-images/

    Let me know ๐Ÿ™‚

    #1218913
    Math

    I tried that but I’m assuming it’s being limited by the container size. If I increase the container size, then the written content width becomes much larger than I would like.

    #1218962
    Leo
    Staff
    Customer Support

    We should be able to use some CSS once it’s set to Above Content Area.

    Can you set it to that setting and disable the caching plugin first?

    #1218977
    Math

    Ok, I set it. But ideally, I would like to have it below the title.

    Caching plugin is also disabled.

    #1219005
    Leo
    Staff
    Customer Support

    Try this CSS:

    .separate-containers .page-header-image-single.grid-container {
        max-width: 1100px;
    }

    It would be a lot more complicated if you want it below the title as it would be inside the container.

    #1219753
    Math

    It works, but is there a way to do it while the title and meta are above the image?

    #1219896
    Leo
    Staff
    Customer Support

    Not easily unfortunately.

    You would try to set the container width in the customizer to 1200px (or the width of the featured image), then build your content with the container blocks from GenerateBlocks which would allow you to set the container (narrower) width for each block:
    https://generateblocks.com/
    https://docs.generateblocks.com/article/container-overview/

    Please do keep in mind that the plugin is currently in Beta 1 but we are moving along quite well and getting ready for the official release:
    https://generateblocks.com/install/

    #1219980
    Math

    I think I found a way around it for now. Thanks for all the help!

    #1219981
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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