-
dillonloomis13
Hi there!
I am a little extra white space at the top of all of my pages. How do I remove this? Is it “Additional CSS” or what?
Image: https://imgur.com/a/vU8oNwc
Thank you!
-
Hi there,
At the beginning of the content area, there’s an empty filter element which has a 20px margin.
Try this CSS:
.home:has(.header-wrap) :is(.wpc-custom-selected-terms, .wpc-custom-selected-terms ul) { margin-bottom: 0; }
-
dillonloomis13
Thank you! I added that CSS in additional CSS, but how do I make it global for all pages? For example this page still has the white spacing: https://pinnaclepursuitseo.com/seo-services-for-real-estate-professionals/.
Thank you!
-
Change
.home
tobody
in the CSS 🙂 -
dillonloomis13
Thank you that worked!
-
You are welcome 🙂
-
dillonloomis13
Hi there Ying!
I’m back again with the same issue on a new page I just created. I added this code, but not sure why it’s not working? I’ll drop the page in the private information section. here’s how I added the additional css:
Thanky you!
-
Hi there,
I believe the space you’re seeing is actually the theme content padding.
What happens if you go to Customize > Layout > Container and set the Content Padding to 0?
The reason you’re not seeing this on other pages is because you’ve set the pages to be full width either on the page (https://docs.generatepress.com/article/content-container/) or globally (https://docs.generatepress.com/article/layout-element-overview/#content-1), which will also remove the content padding.
Hope this helps!
-
dillonloomis13
Got it, I set the Top Content Padding to 0 and that seemed to work and it didn’t break anything on any of the other pages. Thank you!
-
Glad I could help! 🙂
- You must be logged in to reply to this topic.