Archived topic
White area below content
5 replies · Started by Jenifer Bain on September 2, 2015
Could you give me the css code to remove the white space between the content I have and footer. I removed all elements for this page because I just want it to be a landing page. So I just want the white space removed on this page.
Give this a shot:
.one-container.page-id-134 .site-content,
.page-id-134 .hentry,
.one-container.page-id-134 .inside-article {
padding-bottom: 0;
margin-bottom: 0;
}
It still has a little bit of a white space.
I'm not seeing any? What browser?
Have you cleared your cache?
This is odd. The first time I open the page there is a block of white space at the bottom and the code block Tom provided is nowhere to be found. If I refresh the page the css code shows up and the block of white space disappears. The style shows up just before the closing </head> tag:
<style id='generatepress-custom-css' class='siteorigin-custom-css' type='text/css'>
.one-container.page-id-134 .site-content,
.page-id-134 .hentry,
.one-container.page-id-134 .inside-article {
padding-bottom: 0;
margin-bottom: 0;
}
</style>
</head>
If I clear the browser cache and reload the page, the white space returns. Maybe some sort of cache issue, or conflict with the page builder?
Jenifer, can you try adding the CSS using one of these methods?: https://generatepress.com/knowledgebase/adding-css/
