Archived topic
White space between Header and Hero image
3 replies · Started by Carsten on June 14, 2022
Hi there, I'm having an issue with white space between Header and the Hero image, which I can't remove.
The inspector, says that the space is added to inside article and inside header grid container, but I can't find any settings to adjust padding for these elements.
https://imgur.com/J4sitnt
https://imgur.com/J4sitnt
Can you help?
Thanks!
Hi there,
when building a page with full width content we recommend setting the Content Container to Full Width:
https://docs.generatepress.com/article/content-container/
This will also remove the padding and spacing from the Theme.
You can then add any spacing you require in your blocks.
Great, I didn't know it affects the padding as well, as described in the article.
It would be nice with a global Content Container type option in Customize>Layout>Container ;-)
Thanks for the help!
If you want to apply that option to the entire site, or ALL Pages for example.
You can use a Layout > Element:
https://docs.generatepress.com/article/layout-element-overview/
Glad to be of help :)