Archived topic
Primary Navigation Menu Items Left Aligned
3 replies · Started by Paul on August 26, 2017
Hey Tom.
Take a look at http://www.uncommonsensephysique.com/
The primary nav is right aligned, below the site header. However, the menu item drop-downs are left aligned vs "intelligently aligned" based on available space.
For example, the last menu is Tools, and the single drop-down is BMR Calculator, but menu is left aligned and the "or" cut-off due to lack of space. Could/should that menu not right align based on the lack of available space?
Or is this an issue with some other "full-width" setting, versus operating within a container?
Thanks in advance for the help!
Hi there,
We're working on a way for the theme to know if there's enough space or not.
For now, this should help: https://docs.generatepress.com/article/navigation-dropdown/#open-sub-menus-to-the-left
Let me know :)
Thanks Tom. I went with the open-left solution; works a treat!
Cheers.
No problem - I'll get this baked into the theme ASAP :)