Home › Forums › CSS › Mob Nav Disappears After Resize › Reply To: Mob Nav Disappears After Resize
May 30, 2015 at 12:28 am
#202999
reizer
Participant
thanx Senff,
as I’m not good at programming, I’d like to continue with CSS/HTML on the project. I’ve found this solution by browsing and it seems to have worked. I think it’s browser-proof also as it’s javascript.
$(window).resize(function(){
if(window.innerWidth > 400) {
$("#nav").removeAttr("style");
}
});