Archived topic
Remove Header space from generate press theme
9 replies · Started by Sunil on August 22, 2022
Hi, I want to remove the white spacing from the home page.
Hi there,
can you share a link to the site where i can see the spacing ?
.
Here's the link to the website
I am not able to remove the elements like header, menu, and footer from the pages.Earlier there used to be an option in wordpress editor panel
Set the Content Container to Full Width:
https://docs.generatepress.com/article/content-container/
Then use the GB Container Block to create the various sections of your page, this will allow you to control spacing ( padding and margin ) around each container.
To disable the other elements, make sure you have the Disable Elements module enabled in Appearance > GeneratePress
The disable elements module is enabled. Still, I am not able to disable the title element on my home page. I tried the full-width container. However, the white space is related to the title element and the container does not have any effect on it.
I have set the content separator value to 0. However, it affects all my post pages. Is there any way to apply to content separator function to only the homepage?
Add this CSS:
.home .entry-content {
margin-top: 0 !important;
}
Thanks for the CSS. It worked. Could you take a look at the disable elements module?
On the page you linked to, i do not see an Entry Title. So either the Disable Element is working or some other code is removing it.