Full NAV in Portrait Orientation for Tablets
-
Topic
-
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.
Tagged: Navigation bar tab
Hi Jason,
Is there anyway to have the full navigation bar show in portrait orientation for tablets, instead of the little tab?
I like the little tab, however, I have a project where the client would like the full navigation bar in portrait orientation for tablet.
Thank you in advance for your feedback.
Hello,
This is determined in two places:
1) In style.css at what viewport you’re hiding the navigation. See the responsive styles at the end of the CSS file.
2) In /assets/js/theme.js of your child theme, what viewport is inputted into the toggleMenu function. By default it’s 979, but could be changed to 767.
You can see here the range of viewport sizes the framework considers tablets vs mobile.
http://dev.themeblvd.com/tutorial/responsive-utility-classes/
Hi Jason, that works as far as making the full navigation menu appear in portrait orientation on the iPad.
However if I rotate the iPad from portrait to horizontal and back, then the menu completely disappears once I return to portrait orientation.
If I refresh the screen, while remaining in portrait mode, then the menu reappears.
Any thoughts?
Hmmmm, never mind. It must be some type of conflict in the site I’m building.
I tested in a more stock version, and the changed you outlined work correctly.
I’ll figure this one out.
Thanks again!
Follow up:
I updated the core to v1.2.4 and my above issue was corrected.
Thank you again!!!