Mobile Menu Only Shows on Home Page
-
Hello. I’ve been having quite a bit of trouble with this and I am about at my wits end.
So, I have been working on making my child-theme of Customizable responsive for other devices, and my current challenge is the fact that although the mobile menu appears and functions well on the home page, it won’t show up anywhere else in the website. I checked my own header and the original theme header, as well as the stylesheets and function pages, but there is nothing in them that is different in regards to menu functionality.
This should be the code that calls the menu in all cases in the header, but I’m not versed enough in PHP to tell where my problem might lie.
<div class="navbar-header"> <button type="button" class="navbar-toggle navbar-toggle-top" id="menu-trigger"> <span class="sr-only"></span> <span class="icon-bar icon-color"></span> <span class="icon-bar icon-color"></span> <span class="icon-bar icon-color"></span> </button> </div> <div class="rightmenu"> <?php $customizablepro_defaults = array( 'theme_location' => 'primary', 'container' => 'div', 'container_id' => 'mainmenu', 'menu_class' => 'navbar-nav mobile-menu', 'echo' => true, 'depth' => 0, 'walker' => ''); wp_nav_menu($customizablepro_defaults); ?> </div>
The page I need help with: [log in to see the link]
- The topic ‘Mobile Menu Only Shows on Home Page’ is closed to new replies.