Archived topic
Last Sub-Menu Alignment
1 reply · Started by Antar on May 28, 2019
Hello, All -
Is there any way to control the alignment of the last sub-menu conatiner? Typically the container aligns to the left of the menu item that activates the drop down. However, when the item is near to the right of the browser window, the sub-menu can become cropped, and lost "off screen".
Screenshot: http://prntscr.com/nur349
In the above example, it would be better to align the sub-menu container with the right of the activating link on the navigation menu. That would keep the drop down in view.
Is this possible easilly?
Antar
Hi there,
Take a look at these two options:
https://docs.generatepress.com/article/navigation-dropdown/#dropdown-direction
https://docs.generatepress.com/article/navigation-dropdown/#opening-specific-sub-menus-to-the-left
Let me know if this helps :)