-
YEAR93
Hello,
Only on my homepage this
.site-main > * {margin-bottom: 40px;}
has a margin-bottom of 40px. I want this to be 0px. How can I disable this margin-bottom added on homepage the correct way? View screenshot link below. -
Fernando
Hi there,
Try setting the Separating space in Appearance > Customize > Layout > Container to 0. Reference: https://docs.generatepress.com/article/container-layout-overview/
-
YEAR93
It worked, but it also removes the padding between for example posts on the blog page and search results. Is there another solution? Since I only want this removed on the homepage.
-
Then use this CSS:
.home .site-main > * { margin-bottom: 0; }
-
YEAR93
Fixed, thank you!
-
No Problem!
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.