Archived topic
Space above the menu
2 replies · Started by Ceramica Sud Curlante on February 1, 2022

I ask if it is possible to create an upper space of 6 pixels.
Thank you
Hello,
Yes, this should be possible. By going to Appearance > Customize > Layout > Primary Navigation, you should be able to change the height of your Menu Items which in turn should add the needed space.
See this for reference: https://share.getcloudapp.com/wbuYQOOE
However, if you wish to add a custom CSS to add the 6px spacing exactly at the top, you can try this code:
@media (min-width: 1025px){
nav#site-navigation {
padding-top: 6px;
}
}
Kindly edit the @media rule value (1025px) to your preferred media size when this spacing should be added.
Please refer to this link for assistance regarding adding CSS: https://docs.generatepress.com/article/adding-css/
Hope this helps! :)