All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Responsive navigation – help me solve a problem

  • # September 30, 2012 at 6:18 pm

    So here’s a codepen, however, the JS function seems to have broken:

    Am example on my webserver is

    So here’s the problem. When going in to a mobile view (make browser small), I set the navigation to display none and use some JS to toggle this.

    However, if you are on a device such as a tablet, and you start off in the small view, and then switch to the bigger view (by changing the orientation), then the menu will not be there.

    Any ideas? hope this makes sense!

    # October 1, 2012 at 8:33 am

    Check this out: CLICK! It may help ya!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed