Hide "hamburger" menu on mobile

Home Forums Pro Support Hide "hamburger" menu on mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #68664
    Stéphan VallièresStéphan Vallières
    Participant

    Hi,
    I dont want the responsive menu to appear on my mobile wpTouch theme.
    Is there a way to hide it only on mobile devices?
    Thanks
    Stephan

    #68671
    Peter FeatherstonePeter Featherstone
    Participant

    Hi Stephan,

    Unfortunately there is only the option to hide it on my desktop devices, not vice versa.

    However, if it is a separate theme then you can enable the shortcode option and only place the shortcode in the other theme which will work.

    Hope that helps

    Peter

    #68670
    Anonymous

    Hi Peter,
    It works with the shortcode.
    Thanks a lot!
    Stephan

    #68669
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Stephan,

    Excellent news, glad it worked for you!

    Peter

    #68668
    Anonymous

    Hi Peter,
    Unfortunately, after more testing, it appears that the shortcode option also desactivate the menu in desktop mode.
    Stephan

    #68667
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Stephan,

    What do you mean it deactivated it in desktop mode? I’m not sure what desktop mode means. You sounded liked you had a separate theme for your mobile devices called wpTouch, is this not the case?

    My plugin is a responsive plugin not a device specific one so there isn’t such a notion as a “desktop mode” or “mobile mode” unfortunately.

    I’m still not quite sure what you are trying to do as it’s quite vague so I’m kind of just guessing but you can still use the shortcode to only apply the menu on desktop devices with a simple piece of code like below:

    <?php if(!wp_is_mobile()) echo do_shortcode('[responsive_menu_pro]'); ?>

    All the best

    Peter

    #68666
    Stéphan VallièresStéphan Vallières
    Participant

    Hi Peter,

    Its working perfectly now, thanks for your advice.
    You can take a look at the menu on my website at http://stephanvallieres.com

    Stephan

    #68665
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Stephan,

    Excellent, I’m glad that worked for you!

    Site and menu are looking nice too 🙂

    Peter

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Hide "hamburger" menu on mobile’ is closed to new replies.