Archived topic
Gap correctly on mobile at the top of the menu
5 replies · Started by Pascal on February 27, 2022
How to add the gap correctly on mobile at the top of the menu. I want to keep the current GP menu.
Something is blocking I can’t bring down the logo and menu on mobile, I do as usual, but it doesn’t move. As you show in the tutorials.
Thank you
Hi Pascal,
Can you go to customizer > layout > primary navigation try adjust the Menu Item Height on mobile (click the mobile icon)?
Let me know :)
Only the logo come bigger when I change this modification.
I made this change on a few sites, in the past, and usually it works.
Hi Pascal,
The Site logo increasing in size when the Menu Item Height is the default behavior when you have Mobile Header on.
See: https://share.getcloudapp.com/llu6PXlW
Alternatively, you can try adding this CSS to add spacing to the mobile header:
nav#mobile-header {
padding-top:10px;
padding-bottom:10px;
}
Here is an article with regards to adding custom CSS: https://docs.generatepress.com/article/adding-css/
Moreover, another alternative is to add bottom margin to the parent container of the Block Element you have.
See: https://share.getcloudapp.com/xQuzBEBG
Also see: https://share.getcloudapp.com/9ZuD5y54
Hope this helps! Kindly let us know how it goes! :)
Thank you, it is now fix.
You’re welcome Pascal! Glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. :)