Archived topic
Page Layout Messed up
13 replies · Started by Sumit on November 12, 2020
Hi on my website privacy policy page's layout is kind of messed up. While layout of terms page is ok.
I tried to duplicate the terms page and put in content of privacy policy page but it is still stretching. Can you please help me figure this issue out?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
here it is.
This is what I'm seeing:
https://www.screencast.com/t/LQuhusi45
which country you checking from? maybe you can give me generatepress ip which I can whitelist?
I'm from Canada :)
hello?
The site is still not loading for me.
Did you see my reply that I'm from Canada?
will it be possible for you to turn on the US vpn? I have firewall rule applied to make site accessible only in US.
Unfortunately we're not able to use VPNs in order to provide support. Any chance you can replicate the issue on a site we can access?
I temporarily enabled canada in cloudflare, can you please check now?
Looks like you've added this CSS that's causing the issue:
.site.grid-container {
max-width: 100%;
}
why is it causing issue only on privacy page then and not on terms page?
how do I fix it?
The Terms page has this extra CSS which is targetting the specific page and overwriting the CSS I mentioned above:
https://www.screencast.com/t/ov2oUHHOitrY
These issues are all coming from your own CSS so please spend some time to go through them as it's unrelated to the theme itself.
On another thought, have you considered using a layout element instead of custom CSS to narrow the content container width?
https://docs.generatepress.com/article/layout-element-overview/#content-1
You will need to remove your own CSS for them to work.