Archived topic
Edit Spacing for Hook in header
4 replies · Started by Austin on April 6, 2021
Hi,
Is it possible to adjust the spacing in the "generate-before-header" hook. I would like to adjust height and padding of the shortcode. Also, it would need to be adjusted for mobile as well. Any help would be appreciated. golfhomes.servebolt.us
Thanks
Hi there,
You can try adding this CSS:
.separate-containers .site-main {
margin-top: 0;
}
.separate-containers .inside-article {
padding-top: 0;
}
Here's how to add CSS - https://docs.generatepress.com/article/adding-css/
Here's how it'll look like when applied: https://share.getcloudapp.com/QwuE7wxg
Hey Elvin,
I was referring to the items above the logo and navigation to the far right..
Ive decided to go a different route. Thanks Elvin
I was referring to the items above the logo and navigation to the far right..
Oh right sorry my bad.
The top spacing and the right side spacing of the navigation can be controlled with this.
nav#site-navigation .inside-navigation.grid-container {
padding-top: 20px;
padding-right: 40px;
}
Ive decided to go a different route. Thanks Elvin
No problem. Thank you for letting us know.