• Hi, this is my site https://www.fontblog.org

    I am facing issues that my site menu in mobile is not opening. It was working ok when i last checked but it seems b dysfunctional now.

    Need help

    <?php
    
    /*  ----------------------------------------------------------------------------
        This is the mobile off canvas menu
     */
    
    ?>
    <div id="td-mobile-nav">
        <!-- mobile menu close -->
        <div class="td-mobile-close">
            <a href="#"><?php _etd('CLOSE'); ?></a>
            <div class="td-nav-triangle"></div>
        </div>
    
        <div class="td-mobile-content">
            <?php
            wp_nav_menu(array(
                'theme_location' => 'header-menu',
                'menu_class'=> '',
                'fallback_cb' => 'td_wp_no_mobile_menu'
            ));
    
            //if no menu
            function td_wp_no_mobile_menu() {
                //this is the default menu
                echo '<ul class="">';
                echo '<li class="menu-item-first"><a href="' . home_url() . '/wp-admin/nav-menus.php">Click here - to use the wp menu builder</a></li>';
                echo '</ul>';
            }
    
            ?>
        </div>
    </div>

    PS : I have made no changes anywhere

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried the general debugging steps like deactivating your plugins? Is it Jetpack causing it?

Viewing 1 replies (of 1 total)
  • The topic ‘Mobile menu not funtional’ is closed to new replies.