[Resolved] Grey block backgrounds extending to edge of screen

Home Forums Support [Resolved] Grey block backgrounds extending to edge of screen

Home Forums Support Grey block backgrounds extending to edge of screen

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2509203
    Amiria

    Hi there,

    Is there a way to make it so that individual blocks on posts/pages (or perhaps containers on those posts/pages) have a grey background that extends to the edge of the screen?

    I can see how to add a background color to individual blocks, but wish to extend the width full screen (and also add padding at top/bottom).

    Is there an easy way to do this?

    Thanks!

    #2509222
    Leo
    Staff
    Customer Support

    Hi there,

    Try setting the content container to full width:
    https://docs.generatepress.com/article/content-container/

    Then I would recommend using GenerateBlocks’ container block to build the desired layout:
    https://docs.generateblocks.com/article/container-overview/

    Let me know if this helps 🙂

    #2509239
    Amiria

    Thanks Leo. I can’t see the option to change the content container to full width. Can only see a container width option, in pixels?

    #2509241
    Fernando
    Customer Support

    Hi Amiria,

    That setting can be found in a Page’s settings.

    Example: https://share.getcloudapp.com/RBuBR6zm

    #2509263
    Amiria

    Thank you!

    #2509267
    Fernando
    Customer Support

    You’re welcome, Amiria!

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