Site logo

Archived topic

Change 'menu' name on mobile view

6 replies · Started by Anonymous on May 27, 2015

Viewing posts 1–7 of 7

Hi,

Is it possible to have the 'Menu' wording on the mobile view changed, e.g. 'More'? I have set the menu name to 'More', but that doesn't change what is displayed.

Also, I read on a post somewhere that there was a plan to release a new plugin which allows more modification to the mobile view, any ideas when this is due for release?

BTW, for anyone wanting to remove the word 'Menu' entirely, this can be done with the following code:

span.mobile-menu {
display: none;
}

Thanks, Stuart

Working on that add-on right now :)

For now, you can use a filter to change the name:

add_filter ( 'generate_mobile_menu_label','generate_custom_mobile_menu_label' );
function generate_custom_mobile_menu_label()
{
      return 'Whatever';
}

Adding PHP: http://generatepress.com/knowledgebase/adding-php-functions/

Let me know if you need more info :)

Thanks Tom, I'll give it a go. I'm looking forward to the upcoming add-in.

Stuart

Works perfectly, thanks.

No problem! :)

Tom,

Sorry to bump this 2 year old thread, but I need to change the menu name on the secondary nav as well..

The filter above worked perfectly for the main navigation.

Thank you!

There's options to do this is each of their Customizer sections now:

Customize > Layout > Primary Navigation
Customize > Layout > Secondary Navigation

This archived topic is closed to new replies.