Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2602436
Adjusted mobile menu
Closed

Comments

  • Mark started the conversation

    I was wondering if it is possible to create a different menu for mobile view only.

    The reason is that in desktop I have a top area with links, but this part is too big to show on a mobile phone. So I prefer to move some of the links to the menu, but I only want them visible in the mobile menu (in desktop I keep the top area).

  •  7,092
    Oliver replied

    Hi,

    Sorry without the code changes it's not possible you need to edit template:

    wp-content/themes/thegem/header.php

    and add the check in the  

    wp_nav_menu

    Via this function:

    https://developer.wordpress.org/reference/functions/wp_is_mobile/

    For the safety future updates copy this file to the child theme before the editing.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Mark replied

    Thanks a lot. Will be great if this is managable through the Menu settings of Wordpress :-)

  •  7,092
    Oliver replied

    Ok, will add the task to add this feature.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver