Archived topic
Navigation menu position
10 replies · Started by Fernando Díaz Gascón on March 18, 2016
I want to put the navigation menu aligned with the logo (the bottom of both, logo and nav menu, in the same line). I tried with the addons and the only one I can make something similar is with "element spacing", "primary menu items height" but it has the collateral effect of enlarge the icon of sticky menu.
How can modify the alignment (top-down) of the navigation menu?
Thanks a lot
The web I am working on this issue:
maipacific.com.mialias.net
usuario: maipac482
pass: 34OnUnwQ
Hi there,
Give this a shot:
.site-header .main-navigation:not(.navigation-clone):not(.is_stuck) {
margin-top: 10px;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Adjust the px as needed :)
Perfect, as always.
Awesome :)
How will this work with a sticky menu? I tried your suggestion but when scrolling down the sticky menu ist place 40px below the top.
Thanks a lot.
Good point! I just adjusted the code above to take sticky menus into account :)
Thank you for your quick response. Unfortunately the code above still doesn't work. Am I doing somethin wrong? The menu is still 10px below the top when scrolling. I configured the menu to be sticky on desktop and on mobile.
Thanks a lot for your great theme. It is awesome!
Have you tried clearing your browser cache?
If so, can you link me to the site so I can see? :)
I just adjusted the above CSS so it should work now :)
Thanks a lot. That works great :-)
You're welcome :)