Site logo

[Resolved] Js which controls the mobile menu (Open and close function)

Home Forums Support [Resolved] Js which controls the mobile menu (Open and close function)

Home Forums Support Js which controls the mobile menu (Open and close function)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2525639
    Dimitrios

    Hi,

    Can you share with me the link to the javascript file for the mobile menu (open and close feature)?

    Since I am using ezoic, and have activated “delay script”, I wanted to add your js in exception.

    Currently, due to the “delay script” option enabled, the sidebar open feature is delayed for few seconds.

    I saw this thread but that file doesnt exist on GP Premium (https://wordpress.org/support/topic/js-which-controls-the-mobile-menu-open-and-close-function/)

    #2525752
    Dimitrios

    I actually excluded these two from script delay and now the menu opens without a delay. See here (https://postimg.cc/v4qjK8KJ)

    Why those scripts and not this —> generatepress/assets/js/menu.min.js (I thought this was for the mobile menu)

    Can you explain please?

    #2525783
    David
    Staff
    Customer Support

    Hi there,

    the menu.min.js is the core script we use for our navigation.
    the ones in your screenshot are specific to the Off Canvas panel.

    #2525859
    Dimitrios

    I see I see.

    Thanks, I fixed everything!

    #2525884
    David
    Staff
    Customer Support

    Glad to hear that

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.