[Resolved] container background

Home Forums Support [Resolved] container background

Home Forums Support container background

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2342657
    Ruth

    Hi – I have container that is white but the background of the page is grey. Can you tell me how to make the page background white please OR how to make white container fill the whole page?

    #2342881
    David
    Staff
    Customer Support

    Hi there,

    so the grey comes from the Customizer > Color > Body.

    But, if you’re building pages and are using GenerateBlocks and want full width layouts, then you can set the Content Container to Full Width

    https://docs.generatepress.com/article/content-container/

    This will set the page to 100% width, and it will also remove the theme padding, so make sure you add some padding to the GB Container blocks.

    #2343466
    Ruth

    Hi David – thanks, that makes sense but I only want to do it on one or two pages – see link

    #2343557
    David
    Staff
    Customer Support

    In that case use the second option ie. Set the Content Container to Full Width:

    https://docs.generatepress.com/article/content-container/

    And then use GB Container blocks to build your sections.

    #2344638
    Ruth

    I have set the container width to full width and the inner container width to full width as well.
    There is still a grey background behind the container (page colour?) Is it possible to make this white so that the block does not stand out from the page?

    #2344709
    David
    Staff
    Customer Support

    see the document:

    https://docs.generatepress.com/article/content-container/

    The screenshot it provides, you should see that Layout Metabox in the settings sidebar in your post editor.
    Can you see that on your site ?

    #2344844
    Ruth

    Yes – I can see it and have amended to full width. Thanks. Is it possible to remove that bit of grey background from behind the container? Just below the header? On that page only?

    #2345022
    David
    Staff
    Customer Support

    Ok i can see the change now 🙂

    In your editor, there is an Empty Text block at the very top of the page, delete that.

    #2350452
    Ruth

    Thanks – done

    #2361740
    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.