Support » Themes and Templates » Menu not working on mobile

Menu not working on mobile

  • Hi,

    I have installed twenty twelve on a child theme on http://www.showdownja.com. I am using the front page template. On my homepage the menu toggle button is not functioning, my phone thinks it is an image. The menu toggle button works on all the other pages. Can you help me get this menu button working on my mobile homepage?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Due to this style:

    .home header {
     display: none;

    I didn’t want to display the header that is on the other pages of my site on the homepage so I added this code to my front page template to get my menu to appear on the homepage. It works fine on the desktop version but it doesn’t display on the mobile version.

    <nav id="site-navigation" class="main-navigation" role="navigation">
    			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
    			<a href="#content">"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu not working on mobile’ is closed to new replies.