Archived topic
White space between the header and section
4 replies · Started by Maquinaria Internacional 2006 s.l. on March 2, 2022
Hi, I have generate theme in my webside and i don't know why there's in some pages a white space between the header and the next section. I'm using also elementor for the editing, i tried also to ask them if it can be their editor problem but they told me it must be a theme error. I don't know what to do i tried also with padding in css but only works for postive numbers creating more space.
Hi there,
can you share a link to where i can see the issue ?
Hi.
try this CSS
.entry-header {display:none;}
.entry-content {margin-top:0}
If you're constructing the page entirely with Elementor and some if its content is full width then you're best to:
1. Set the Content Container to Full Width:
https://docs.generatepress.com/article/content-container/
2. Disable any Theme Elements you do not require such as the Content Title:
https://docs.generatepress.com/article/disable-elements-overview/
This way you remove any unncessary theme HTML, and by setting the content container to full width you remove any padding. You can now control all that in Elementor.