Skip to content

Instantly share code, notes, and snippets.

@robhob
Created April 24, 2018 18:40
Show Gist options
  • Save robhob/80ab0d5bb64ef953d972fc0495833971 to your computer and use it in GitHub Desktop.
Save robhob/80ab0d5bb64ef953d972fc0495833971 to your computer and use it in GitHub Desktop.
@media only screen and (max-width:1325px) and (min-width:981px) {
#top-menu, .fullwidth-menu, nav#top-menu-nav, nav.fullwidth-menu-nav {
display:block!important;
}
#et_mobile_nav_menu, .et_mobile_nav_menu {
display: none!important;
}
}
@Mari-Nella
Copy link

this is a great hack, I just want to know, how do I extend the feature to avoid the hamburger menu on the secondary menu too....and on regular in page menus that i created for a specific page. But eh moment I put in this code and test it on the tablet and mobile size - those menus disappear and only show up after the min-width size allocated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment