Looking to display the mobile hamburger menu icon all the time in your Oxygen site?

Just add this CSS:

.oxy-menu-toggle {
    display: block;
}

.oxy-menu-toggle+div {
    display: none;
}

.oxy-nav-menu-open .oxy-menu-toggle+div {
    display: block;
}

You might want to select the Menu element and go to Mobile Responsive > Menu Styles to set a Link Hover Color in case you find that menu items in the overlay are not visible (white on white) when hovered.

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

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
  • Hi Sridhar – Thanks for this tutorial.
    I’m trying to use it to make my sticky menu into a hamburger… and I’m nearly there, but showing the menu toggle all the time seems to force it to add the class oxy-nav-menu-prevent-overflow which stops the page scrolling. Any idea how to stop this?

  • magnifiercross
    >
    linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
    %d bloggers like this: