Nav on mobile has disappeared
-
Hi Emil,
I love the theme, thank you for creating it. I have an embarrassing problem. I am setting up a new company specialising in Web design. I need your help.
I have setup the whole site, modified the template etc. Everything was going great until I checked the site on my iPhone. The navigation bar under the logo has disappeared. It was there the whole time I was setting up the site.
I have been optimising the site recently, would it have something to do with minimizing the CSS? I put the CSS back to un-minimized from the backup but the nav is still missing.
You would think that if I was going to run a company doing this work I would be able to do it myself but I have hit a brick wall with it.
My site is: indabath.com
-
You have this CSS;
@media screen and (max-width: 650px) { /* Including some other styles */ .js .menu, .js .sub-header-menu { display: none; } }
Thanks for the speedy reply. Changing the display function does put the nav back on the mobile site. There are 2 issues though.
1. I didn’t modify any of the mobile CSS at all and the nav was displayed before. I checked in the original download of the theme and display is set to none.
2. The previous nav was a drop down selection (iphone style), now each page link is listed.
I can live with it but I would prefer having the drop down as before.
I really appreciate your help with this.
Check whether a plugin is causing this, by deactivating plugins.
Ok, I found it.
The W3 Total cache plugin was the problem. In the general settings I disabled Minify and everything all popped back into place. I am not sure of the reason but I am not willing to spend too much time figuring it out.
Thank you for your help Andrew.
- The topic ‘Nav on mobile has disappeared’ is closed to new replies.