-
afuente
Hello,
size the last update of generatepress, there are more and better feature. Really a good work.
But I don´t understand how to limite the container width to the general page width.
Example
container > container > grid > container > headline
The first container has a full width with white background
The second container has to have the page width 1200 px. I tried to choose between “block” “inline block” “flex” rows, etc. But no way.Could you please explain me how to do it?
Thanks
Angel -
Hi Angel,
The second container has to have the page width 1200 px.
You can set 1200px as the max-width of the container in the sizing panel:
https://docs.generateblocks.com/article/sizing-options-overview/#max-widthThe global icon beside the mix-width option offers a quick auto-fill if the value is set at GenerateBlocks > settings > Global max-width.
To center the container which has a max-width attribute, you can set its
margin-left
andmargin-right
toauto
in the spacing panel:
https://docs.generateblocks.com/article/spacing-options-overview/#margin
- You must be logged in to reply to this topic.