Archived topic
Unable to eliminate white space on top of my pages
1 reply · Started by Parmeet on April 12, 2020
I've been trying to eliminate the white space on top of all my pages. Looking through various forum posts I've added the following Additional CSS:
.page .entry-header {
display: none;
}
.site-header {display:none}
.page .entry-content {
margin-top: 0 !important;
}
These CSS modifications helped reduce the white space but there's still a sliver of it.
I also tried the PHP edit as mentioned here:
https://generatepress.com/forums/topic/global-disable-elements/
But it made no difference.
Please help! I'm using elementor to build my header, footer, etc so I want to make all the GP elements disappear and just have a blank canvas.
Hi there,
I'm not seeing any space on the top of your pages but this should be the option you are looking for:
https://docs.generatepress.com/article/page-builder-container/
If you need to do this globally, you can create a layout element for it:
https://docs.generatepress.com/article/layout-element-overview/#content-1
Let me know if this helps :)