• Resolved Steve M

    (@wpsmort)


    I updated from 3.16.2 to 3.16.3 this morning and now my site has two main-nav divs and two main nav menus.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ditto for me.

    +

    • This reply was modified 5 years, 3 months ago by Navras.

    I won’t be able to update to the newest version until tomorrow, but the changelog states that “Added header Layout Options” is now included.

    Try going to the customizer (Appearance –> Customize). The new Header Layout options should be in there for you to change.

    Hi, In my case this was being caused by my out of date child theme theme-header (header.php). I’m still using the child theme version 1.3

    It looks like CyberChimps moved the menu build call into a different file so there were two calls to build the menu including the one hardcoded in my old child theme header.php

    I removed (or commented out) the following block of code near line 93 of the child theme header.php and it fixed this problem for me.

    <?php get_sidebar( ‘top’ ); ?>
    <?php wp_nav_menu( array(
    ‘container’ => ‘div’,
    ‘container_class’ => ‘main-nav’,
    ‘fallback_cb’ => ‘responsive_fallback_menu’,
    ‘theme_location’ => ‘header-menu’
    )
    );
    ?>

    <?php if( has_nav_menu( ‘sub-header-menu’, ‘responsive’ ) ) { ?>
    <?php wp_nav_menu( array(
    ‘container’ => ”,
    ‘menu_class’ => ‘sub-header-menu’,
    ‘theme_location’ => ‘sub-header-menu’
    )
    );
    ?>
    <?php } ?>

    Hope this helps.

    Thanks. MM

    • This reply was modified 5 years, 3 months ago by webm22.
    Theme Author CyberChimps

    (@cyberchimps)

    If you are using a child theme and not done any changes in the header.php then please replace it with the latest header.php of Responsive theme. As we have changed the display logic of menu in the latest update.

    pjw

    (@pwansbrough)

    Same issue: double menu.

    So I guess if I don’t know how to edit the PHP in the header I have to change themes?

    • This reply was modified 5 years, 2 months ago by pjw.
    • This reply was modified 5 years, 2 months ago by pjw.
    pjw

    (@pwansbrough)

    Thank you webm22! I figured it out thanks to you. Big shout out!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Updating to v3.16.3 results in two main-nav divs and menus’ is closed to new replies.