Archived topic
Offset between Menu and Submenu
9 replies · Started by Nicole on April 10, 2021
Hey, just wondering if it's possible to get rid of the offset between menu and submenu.
In this example I'm hovering over "Shop" and would like "Shirts" to appear right beneath it:
https://ibb.co/2NGLXV8
Cheers,
Nicole
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Oh Sorry! The page is https://youhadmeatvintage.com/
Is the dropdown direction set to the left in the customizer?
https://docs.generatepress.com/article/navigation-dropdown/#dropdown-direction
What if you try the right?
It was set to the left and I just changed it to the right.
The offset stays the same unfortunately
Try clearing your browser cache.
This is what I'm seeing now:
https://www.screencast.com/t/7wMwzRludyX
Again sorry for being unprecise xD
I meant the vertical offset.
I allowed the sticky menu now, and here it works without offset. But I would like the regular menu to also show no vertical offset to the submenu. Is that possible?
Disable the navigation as header option:
https://docs.generatepress.com/article/navigation-as-a-header/
Set the navigation location to float right:
https://docs.generatepress.com/article/navigation-location/
Then reduce the menu item height:
https://docs.generatepress.com/article/menu-item-height-width/
Yay! It shows perfectly now. Thanks Leo :)
No problem :)