Archived topic
Pages - disable title and space/container holding title content
3 replies · Started by seashore on March 10, 2021
How please can I disable the spacing left behind on the page when I disable the title from a page?
I did the following to disable the title on my "About" page:
WP Dashboard > Pages > About > Edit > right sidebar, page tab, layout section, disable elements field, toggled to check the box "Content Title"
However when I view the page there is still lot's of white/blank spacing between the header/navigation menu and the contents of the body of the page.
Hi there,
The space comes from many sources:
1. There's a paragraph, with margin bottom (orange part). Remove it in the page editor.
https://www.screencast.com/t/oSfWBCEtRe
2. The GB inside container has 40px padding around (green part), change them to 0.
https://www.screencast.com/t/RZDJo0IFHBW
3. Another GB inside container has 60pxpadding around (green part), change them to 0.
https://www.screencast.com/t/WwoZvjXpI
4. GB inside container under Grid structure has 30px padding around (green part), change them as you wish.
https://www.screencast.com/t/LQZJA2a5E
5. The very outside 30px padding comes from customizer > container > content paddings.
https://docs.generatepress.com/article/container-layout-overview/
You could choose Contained for About page in layout meta box in the page editor, so that the global content paddings won't apply to this page:
https://docs.generatepress.com/article/content-container/
https://www.screencast.com/t/7JXywPnO8r
Let me know :)
Thank you very much for all this information. I'll go through it all shortly but just wanted to say received and thanks.
No problem :)
Hope you can figure it out!