Home › Forums › JavaScript › jquery window width condition › Re: jquery window width condition
June 30, 2012 at 11:09 pm
#105163
Senff
Participant
I’d definitely use media queries here, and not the jQuery route, if you just want to hide it when screens are less than 800 wide.
Something like this:
@media only screen and (max-device-width: 800px) {
#header {display:none;}
}