Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

container size

  • 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-width

    The 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 and margin-right to auto in the spacing panel:
    https://docs.generateblocks.com/article/spacing-options-overview/#margin

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