0

I am trying to work on my responsive design for my website and would like the menu to move to a more mobile friendly version. When I add the media query for my nexus 7 it does not work as soon as I move to the page but if i scroll down and back up it works! Also if I change the orientation (landscape to portrait) it will work! But if I go to a new page on the site it will do the same think.

It is also adding a "#" at the end of my web address when I try to navigate the menu in the non-responsive menu.

The website is "www.tripspotr.com" if any one wants to try it themselves.

Thanks for your help!

jaminguy
  • 25,840
  • 2
  • 23
  • 21

1 Answers1

0

Following code worked for me to target Nexus7 tab.

/** Google Nexus7 (Landscape)**/
@media screen and (min-device-width : 601px) and (max-device-width :970px) {}

Don't forget to add the meta tag in your html. For example,

<meta name="viewport" content="width=device-width"/>
Shivanand Darur
  • 3,158
  • 1
  • 26
  • 32