Archived topic
Remove the top margin above nav on mobile and tablet
5 replies · Started by Ian on August 16, 2021
What's the best way to do this? Using customiser or creating an element?
Hi Ian,
The margin is added by CSS:
https://www.screencast.com/t/aPDRPbzY2
Just give it a media query so it only works on desktop:
@media (min-width: 1025px) {
#site-navigation {
margin-top: 50px;
}
}
You can adjust the 1025px to find the best fit for your site.
Thanks Ying
You are welcome :)
Not sure if this is a caching issue, but the margin still seems to be there?
Can you link me to your site again?
Since it's marked as resolved, the site info has been erased.