Site logo

Archived topic

Help with setting container and inner container width

5 replies · Started by Aleksi on March 11, 2023

Viewing posts 1–6 of 6

Hi,

Thanks for GP and GB.

I'm trying to set the container and inner container width, as it's a bit confusing with the 1920 and 1440 width (see link joint- front page for example).

Would appreciate some help to accelerate things,

thanks

ok, i think i get it for the moment, but let me know if there's a better way,

So for the first section:

So set the page to full width

Set the Container padding in % (112px from 1440)

Inner container (with the background color) Max width to 1440px.

So from here, it's seems i will need to add another inner container for the content, or is there another (better) way to do it? tried quickly with setting the page to contained width, but didn't get things to work properly

Hi there,

1. Add the Container Block.
1.1 Go to Settings > Sizing -> Max Width and set it to 1920px.
1.2 Go to Settings > Spacing and in the Left and Right margin add: auto

At this point you will have a 1920px container that is centered on the page.

2. in the blocks toolbar there is the Insert Inner Container button. See here:

https://docs.generateblocks.com/article/add-inner-container/

The inner container will be given auto left and right margins by default to center it.
2.1 set the inner Container Blocks Sizing > Max width to 1440px.

Thanks for that,

I was doing this late at night with a rush, forget that i can just set the inner content width with the padding.

By the way, I noticed a bug,

when i set the Heading H1 in the customizer to white, the page title in the editor will also be white, which make unseeable. (even if the content title color is set to black)

thanks for reporting that ill take a look!

This archived topic is closed to new replies.