Make space between header, primary menu and blog posts smaller
-
Any idea how I decrease the space between my header, primary menu and featured image? Want to make the space between them all smaller.
Thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
Hi there,
This should fix the spacings, you can adjust the values according to your liking:
#header-top-nav { padding: 0px; } #site-header { padding-bottom: 0px; } -
Hi, thanks for the code – it worked a treat!
Quick question – is it possible to go below 0px? As in, could I add -10px and it would decrease further? It’s just that I’d like the space between them even smaller.
Thanks again.
-
Yep, that’s absolutely possible and you can set negative margins to decrease the space even further:
#header-top-nav { padding: 0px; margin-bottom: -22px; } #site-header { padding-bottom: 0px; margin-bottom: -40px; }Fine-tune the spacings as desired! :)
-
-
- The topic ‘Make space between header, primary menu and blog posts smaller’ is closed to new replies.