Is your Oxygen‘s nav menu’s last item’s submenu causing a white gap to the right of your webpages?


Simply add this CSS to fix:

.oxy-nav-menu .oxy-nav-menu-list > .menu-item:last-child > .sub-menu {
  right: 0;


By default, the submenus will be absolutely positioned and will appear when hovered aligned left i.e., with their left edges aligned with the left edges of their parent menu item. With the above code, we are setting aligning the right edge for the submenu of the last menu item in the navigation.

Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



You need to be logged in to view and post comments.
Not a member yet? Join here.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: