How do I keep the container stretched but the inner content no wider than the global content width?

Hey Dustin,

Ah, no worries at all. I am a big believer in ‘pass it forward’ :slight_smile:

In relation to the current logic of the container in 1.4. it is something like this:

Based on having theme styles set up something similar like this:

Root Container With No Inner Wrapper (container)

The container will be fixed at 1400px with a 2.5rem padding on either side

Root Container (not stretched) With One Inner Wrapper (container)
Similar to the above the root container will be fixed at 1400px and the 2.5rem padding will be applied to the outer container

Root Container (stretched) With One Inner Wrapper (container)
The Root container will be full-width and the inner container will be 1400px. The padding is transferred from the root container to the inner container.

For your issue with the inner wrapper stretching too is to have a look at this thread here: I found out there is a custom class already added inside bricks called ‘stretch’. Just type stretch inside the add custom class box and it will show up. Apply it to the root container when the root container is set to stretch in the ‘align container’ setting. (this only needs to be added in stretched sections). :+1:

1 Like