[Support request] Litespeed JS deferred/delayed = mobile menu double click

Home Forums Support [Support request] Litespeed JS deferred/delayed = mobile menu double click

Home Forums Support Litespeed JS deferred/delayed = mobile menu double click

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2053810
    Iurii

    Hello, i’m currently trying to optimize my page with litespeed and when JS turned to deferred or delayed, mobile menu needs two taps to open.
    Could you navigate me to the right generatepress .js file i need to exclude in settings? Thanks!

    #2053942
    Iurii

    Aditionaly UCSS generation breaks mobile menu layout and submenu doesnt work, so i need to exclude a css file as well, is there a separate css and js that are responsible for mobile menu/menu or maybe you know other workarounds?

    #2054047
    Elvin
    Staff
    Customer Support

    Hi there,

    You can exclude the following scripts:

    From theme:
    /wp-content/themes/generatepress/assets/js/dropdown-click.min.js
    /wp-content/themes/generatepress/assets/js/menu.min.js

    https://github.com/tomusborne/generatepress/tree/master/assets/js

    From GP premium: (if you have off-canval panel and sticky menu enabled)
    /wp-content/plugins/gp-premium/menu-plus/functions/js/offside.min.js
    /wp-content/plugins/gp-premium/menu-plus/functions/js/sticky.min.js

    Note: you may have to disable critical CSS and/or remove unused CSS as they can potentially break menu functions as well.

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