Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #17538
    @gaidesign

    Hi it’s possible to create a different menu only for the mobile version? I need to create an home page only for the desktop website and other one only for the mobile….so i think if is possible to create a differenbt menu in wp admin and show it only on mobile….

    Answers

    #17576

    Alyssa
    Participant
    @alyssa-buddyboss

    @gaidesign this is complex because we use jQuery to switch between mobile or desktop version of the page based on screen width. So you would need to create a menu file and call it using jQuery and remove the desktop version. Our mobile jQuery is located in buddyboss/js/mobile-main.js and you can use the equation if(is_mobile) to check if its mobile and use the correct menu depending on that.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Change menu for Mobile’ is closed to new replies.