Support » Theme: Twenty Twelve » Child Theme – header.php mod – custom menu disappears

  • Hi, I have a modification to header.php I got elsewhere on this forum to move my header image above the menu. This works nicely in the original theme but my custom menu doesn’t display when I try to do this in a child theme? What am I missing?


    by the way the mod is as follows:

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

    to just above

    </header><!-- #masthead -->

  • The topic ‘Child Theme – header.php mod – custom menu disappears’ is closed to new replies.