Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi hnrocket,

    Please see this link:

    https://www.maxmegamenu.com/documentation/faqs/removing-residual-styling/

    It looks like you’ll need to tidy up your themes header.php file and remove any unneeded markup.

    Regards,
    Tom

    Thread Starter hnrocket

    (@hnrocket)

    thanks Tom,

    Here’s my header.php, I can’t see much of anything resembling the “‘wp_nav_menu”

    ————————————-

    <!DOCTYPE html>

    <!–[if IE 9 ]><html class=”ie9″ <?php language_attributes(); ?>> <![endif]–>
    <!–[if (gt IE 9)|!(IE)]><!–><html <?php language_attributes(); ?>><!–<![endif]–>

    <head>

    <?php wp_head(); ?>

    </head>

    <body id=”<?php print get_stylesheet(); ?>” <?php body_class(‘ct-body’); ?>>

    <div id=”overflow-container” class=”overflow-container”>
    <?php _e(‘Skip to content’, ‘tracks’); ?>
    <header id=”site-header” class=”site-header” role=”banner”>

    <?php

    $social_icon_setting = get_theme_mod(‘social_icons_display_setting’);

    if( ( has_nav_menu( ‘secondary’ ) ) || // if secondary menu is set, or…
    ( get_theme_mod(‘search_input_setting’) == ‘show’ ) || // if search bar is on, or…
    ( $social_icon_setting == ‘header-footer’ || $social_icon_setting == ‘header’ ) ) : // default is ‘no’, so if it is equal header & footer, or header display it

    echo “<div class=’top-navigation’>”;

    echo “<div class=’container’>”;

    // add secondary menu if set
    get_template_part( ‘menu’, ‘secondary’ );

    // add search input if set
    if(get_theme_mod(‘search_input_setting’) == ‘show’){
    get_search_form();
    }
    // display social icons if set
    if( (get_theme_mod(‘social_icons_display_setting’) == ‘header-footer’) || (get_theme_mod(‘social_icons_display_setting’) == ‘header’)){
    get_template_part(‘content/social-icons’);
    }

    echo “</div>”;

    echo “</div>”;
    endif; ?>
    <div class=”container”>

    <div id=”title-info” class=”title-info”>
    <?php get_template_part(‘logo’) ?>
    </div>

    <?php get_template_part( ‘menu’, ‘primary’ ); // adds the primary menu ?>
    </div><!– .container –>
    </header>
    <div id=”main” class=”main” role=”main”>

    Thread Starter hnrocket

    (@hnrocket)

    I figured it out thanks!

    it was in menu.php that I had to comment out the wrapper

    and your menu has been a huge blessing, I can now check off another “to do” on my pre-launch list!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘doesn't fully show submenus in mobile mode’ is closed to new replies.