Change Breakpoint For Mobile Menu

I need to display:none for my desktop menu and use hamburger exclusively. If I do this with CSS I lose the Java for larger screen sizes. What is the javascript for this?

I know you’re not in the business of writing java for people, but I figured that this has been done before, I just can’t find it in your forum.

JAVA
/jQuery(document).ready(function($){
$(’.x-btn-navbar’).click(function(){
if($(".x-nav-wrap.mobile").is(’:visible’)){
$(’.x-nav-collapse.in.collapse’).removeClass(‘in’).css();
}
else{
$(’.x-nav-wrap.mobile’).css(“display”, “block”);
}
});
});
/

CSS
/*
.masthead-inline .x-btn-navbar {
display: block;
float: right;
}
.x-nav-wrap.desktop {
display: none;
}

*/

This works for Safari, but not in Firefox or Chrome…

va.northwaydesigns.com

/* > > > > > > > > > UPDATE > > > > > > > > > */

THIS IS FIXED…I FOUND THE ISSUE.

Glad to hear you got it fixed.

Cheers!

Any way you could look at this one? I’m under a deadline and this is killing me…

Help! Please ( =

Hi there,

Would you mind providing more details of the issue? Or perhaps let’s discuss it on that thread.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.