I tried following these instructions on how to change the 991px max-width for mobile menu to 1024px but I am not able to get it working. The menu shows up at 1024px but still displays it in desktop view not the hamburger menu.
I have given the mobile nav an id of #mobile-nav
Turned off visibility of the nav for desktop
Set a style attribute in the <head> tag on the home page to:
@media only screen and (max-device-width: 1024px) {
#mobile-nav {display: block !important;}
}
The problem is the break point on a iPad is 1024px so my menu still remains as the desktop menu on iPad not the mobile menu. So I am trying to override the default. Does that make sense?
Thanks for your help sir. I’m getting closer to getting it working. The desktop nav disappears now at 1024px, but the hamburger menu doesn’t appear until I crush the browser to 991px still.