- This topic has 7 replies, 2 voices, and was last updated 1 year ago by
Leo.
-
AuthorPosts
-
March 27, 2020 at 2:47 pm #1212450
Arp
Set the Layout > Container width to the widest and take it from there? Or is there a way to have section backgrounds that can extend outside the container?
March 27, 2020 at 3:46 pm #1212466Leo
StaffCustomer SupportHi there,
I would recommend trying our upcoming blocks plugin (currently in Alpha 3) GenerateBlocks:
https://generateblocks.com/The container block would be what you are looking for:
https://docs.generateblocks.com/article/container-overview/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 27, 2020 at 4:15 pm #1212488Arp
OK. What would the Layout > Container settings be for that? I know I have to use Elements to make custom wide background behind the header too.
March 27, 2020 at 5:12 pm #1212507Leo
StaffCustomer SupportIt can be whatever you want.
The container block in GenerateBlocks allows you to set a different width for each container, independent of the general container width from the theme.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 30, 2020 at 8:59 am #1219737Arp
I get that but I don’t want to have to set a width for every page or content section on the site on the site individually. I want the content width to be consistent so it’s one less thing to worry about for my client when I hand the site over.
March 30, 2020 at 11:06 am #1219890Leo
StaffCustomer SupportI’m a bit confused now.
The container width setting in the customizer would apply to every page.
However, in order to have a full-width section in the middle of the page content, you would need to use GenerateBlocks and built each section separately.
If this doesn’t help, any chance you can provide an example of what you are trying to achieve so I can make sure we don’t have any miscommunications?
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 30, 2020 at 12:01 pm #1219960Arp
It looks like every page would be broken into sections. Each section would have a full-width background but the content container should be a consistent width across the whole site, from the navigation/header down to the footer.
March 30, 2020 at 12:07 pm #1219965Leo
StaffCustomer SupportYup that case the only option is to use GenerateBlocks to build each section individually.
We will be introducing filters so you can set the default container width in GB.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.