Archived topic
How to set Container width
14 replies · Started by Junaid on March 21, 2020
Hi,
Unfortunately, I changed the container width. It's not looking good at all. How can I get the settings back to default about container?
And can I change the settings for a single page? Like I have removed the sidebars on the homepage. And it's looking odd now. Can I change settings for a single static homepage?
Thank you.
Hi there,
take a look at the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
May I know settings of this site? GeneratePress?
Container width, spacing, etc
I enjoy being here.
Generatepress.com
Container Width: 1400px
Container Padding: 60px Desktop / 30px Mobile
Spacing: 20px
Sidebar Width: 25%
Glad you're enjoying the theme :)
Surely Enjoying a lot.
It's not working on my homepage. Can you pleade check it out? I want to get some space on sides. Please check and help.
Can you clear and disable your cache plugin. Best leave the cache disabled whilst you're building the site. Let me know
I have cleared cache, now disabling.
Disablled. Now check please.
Did you create a Layout Element ?
https://docs.generatepress.com/article/layout-element-overview/
If so change the Page Builder Container to Default. This will fix the missing padding.
I have added the Layout as you said but it's not working.
Actually, I had tried to work with Page Builder for my front page and I think that changed my settings. Now I have disabled that plugin as well, but it's not working.
I think I should uninstall the theme and reinstall it to add paddings. But I don't want to lose my other settings. Everything is okay with other blog but the homepage is disturbed.
Well I have changed things using additional css.
Can I set different margins for desktop and mobile versions?
I want to add different margins for both versions.
There should be no need for CSS.
The Page Builder Container > Contained Option removes the Padding you set in the Customizer.
There two places where Page Builder Container > Contained can be set:
1. Layout Element - if you have one of them then please Delete it.
2. Meta Box - this is an option when Editing the Page:
https://docs.generatepress.com/article/page-builder-container/
This should be set to default.
Then the Page will match the settings you apply in the Customizer.
Well, now I'm using a page builder. Thank you for the information.
You're welcome