- This topic has 8 replies, 3 voices, and was last updated 2 years, 11 months ago by
Fernando.
-
AuthorPosts
-
April 2, 2023 at 8:30 am #2593294
Petri
Hi,
I’m struggling with the layout -> the width of the container.
In the customizer -> Layout I have set up container-width: 1200px and also added some content padding.
However when I work in the editor and preview the page the content goes ‘out of’ the container, it’s much wider than the 1200px.
Theme Vinyasa
GP version 3.3
p.s. in the customizer -> layout I don’t see the so-called ‘content-container’ option.Thanks.
April 2, 2023 at 8:47 am #2593309Petri
Hmmm…,
I now see that I can add a ‘content-container’ in the editor itself, if I do so the content width is OK, it stays within the layout. But the top and bottom still don’t follow the padding that I’ve set up in the ‘General’ layout settings in the Customizer.April 2, 2023 at 10:10 am #2593399Leo
StaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
April 2, 2023 at 10:50 am #2593448Petri
Please see the link, thanks.
April 2, 2023 at 11:06 am #2593469Leo
StaffCustomer SupportBut the top and bottom still don’t follow the padding that I’ve set up in the ‘General’ layout settings in the Customizer.
That’s the expected behaviour and is explained here:
https://docs.generatepress.com/article/content-container/#full-widthDoes that help?
Let me know 🙂
April 2, 2023 at 12:23 pm #2593542Petri
Not really sorry 😉
If I add a new page and don’t add a container/content container in the editor there is no spacing at all, while in the Customizer I have set up max. 1200px width and some padding.
So I don’t understand why these Customizer settings don’t apply to the page?
Please see the link to the page where this occurs.And, in the page itself, at the right below layout the option: Content Container – Choose your content container type is disabled (I can’t select).
April 2, 2023 at 6:56 pm #2593779Fernando Customer Support
Hi Petri,
Can you go to Appearance > Elements and check if you have a Layout Element enabled? If you have one and you’re setting a Content width setting there, that may be the issue.
Reference: https://docs.generatepress.com/article/layout-element-overview/#content-1
April 3, 2023 at 12:54 am #2594091Petri
Hello Fernando,
You are right that’s was the problem, there was a ‘Full page layout block’ that came with the installed theme, I wasn’t aware…
Thank you for your help!April 3, 2023 at 1:17 am #2594140Fernando Customer Support
You’re welcome, Petri!
-
AuthorPosts
- You must be logged in to reply to this topic.