• Resolved mqblogger

    (@mqblogger)


    Hi Richie

    I’ve seen this thread where you point to line 249 in functions.php, and I see someone has tried to reopen this resolved question.

    The thing is, when I change that wording (not line 249 but the only instance I could find in that code), the words “Top Menu” still appear at the top of a mobile page. What does change is the wording in the customiser > menus.

    The code I can see is:

    register_nav_menus( array(
    'top' => __( 'Top Menu', 'mesocolumn' ),
    'primary' => __( 'Primary Menu', 'mesocolumn' ),
    'footer' => __( 'Footer Menu', 'mesocolumn' ),
    'mobile' => __( 'Mobile Menu', 'mesocolumn' ),
    ));

    Should I be looking somewhere else?
    My site is moneyquestioner.co.uk

    Thanks
    Adrian

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Richie KS

    (@rkcorp)

    definately not the register_nav_menu need to be edited.
    open meosocolumn/lib/functions/theme-functions.php edit line 249 that look like this code.

    function dez_get_mobile_navigation($nav_name='') {
    echo '<div id="mobile-nav">';
    echo '<div class="mobile-open"><a class="mobile-open-click" href="#"><i class="fa fa-bars"></i>'. __(
    "Top Menu","mesocolumn") . '</a></div>';
    echo '<ul id="mobile-menu-wrap">';
    echo dez_get_wp_custom_mobile_nav_menu($nav_name);
    echo '</ul>';
    echo '</div>';
    }

    do you see the “Top Menu” text, change it to any text you want with the quote. like __(“MY MENU”,”mesocolumn”)

    hope that clear enough.

    Thread Starter mqblogger

    (@mqblogger)

    Right, I was looking totally in the wrong place!

    Yes, understood. Thanks again.

    Adrian

    Thread Starter mqblogger

    (@mqblogger)

    Once I remembered how to do ftp, that worked fine!

    Thanks Richie.

    Adrian

    Thank yuo

    Hi Richie,

    If I leave the it no value, would it still be okay? I want only the menu icon to appear.

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove "Top Menu" wording – new thread’ is closed to new replies.