Twenty Twelve
Menu not working on mobile (3 posts)

  1. flemingworks
    Posted 2 years ago #


    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?


  2. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Due to this style:

    .home header {
     display: none;
  3. flemingworks
    Posted 2 years ago #

    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' ) ); ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic