Archived topic
Differnt container widths
9 replies · Started by Newgrove on July 22, 2019
Hi
I know how to change the width on all posts/pages: Apperance -> Customize -> Layout -> Container (got 960px now).
But I want the startpage wider, only the startpage (1100-1200-something).
I tryed with Layout Element and that … well, worked but only if I at Content had Full Width (no padding) or Contained (no padding) opted (I put Content Width at 1200 there), I really want padding so thats not a good option.
How can I fix that?
Regards,
Newgrove
GP 2.3.2
GP Premium: 1.8.3
Hi there,
You should be able to set the Content Width option in Layout Element and leaving the Content Area to Default:
https://docs.generatepress.com/article/layout-element-overview/#content-1
Or are you saying that doesn't work for you?
Let me know :)
No, I tryed that at Layout Element but did not work. At Display Rules I had ”Front Page” selected.
Hmm I'm not sure why that would be.
Are you using any caching plugins? If so can you try disabling it first?
I see this issue in your footer which might be causing some issues:
https://www.screencast.com/t/CzVnZovtH
I tested before both with and without the cache plugin … that issue in the footer is new, I had plugin inactive but now I removed it and now the footer looks normal.
So I tested Layout Element again … nope, dont work (even tested restarted computer).
Very strange.
Can you clear the caching plugin and leave it off for now?
Do you have any other layout elements that might be causing any display rule conflicts?
https://docs.generatepress.com/article/conflicting-display-rules/
Ye, the plugin is cleared, disabled and uninstalled.
Dont have any other Layout elements at all.
No CSS I can test?
One last test if you don't mind...What if you choose the page name instead of the front page under display rules?
This CSS should work as well but I'd like to figure out why the option isn't working:
body.home .site.grid-container {
max-width: 1200px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Ye, I tested with the page name before, and one more time now, not work 😊
The CSS works perfect!
And it works also with the cache plugin.
Thank You! 😊
Ok sounds good.
I'll do some testing to see if I can replicate the issue.
Glad I could help!