Site logo

[Support request] Mobile menu not working (cache issue)

Home Forums Support [Support request] Mobile menu not working (cache issue)

Home Forums Support Mobile menu not working (cache issue)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2583937
    Daniele

    Hello,
    the off canvas menu stopped working from mobile, and I discovered it is a cache issue.
    I’m using Litespeed cache.
    Pratically when you click the hamburger menu, nothing happens.

    Do you know if is there any workaround for this? I would like to continue caching the website for performance.

    thanks!
    (p.s. now the cache plugin is disabled)

    #2584298
    David
    Staff
    Customer Support

    Hi there,

    you would need to find out which Litespeed setting is breaking it.
    It could be either the way it is combining CSS or more likely if its combing Javascript.

    If its a JS issue then check with litespeed on how to exclude scripts from whatever optimizations its doing.
    These are locations of the 2 menu scripts that GP uses, try excluding those.

    /wp-content/themes/generatepress/assets/js/menu.min.js
    /wp-content/plugins/gp-premium/menu-plus/functions/js/offside.min.js

    But you may want to also ask Litespeed support on this

    #2584424
    Daniele

    I found the issue, and it was the CSS loaded Asynchronously.
    It’s very a mistery for me as suddenly things stop working…

    This cache problems are the the worst to debug

    Do you think I could make some test to understand why this happens or in your opinion it’s a waste of time?

    thanks

    #2585320
    David
    Staff
    Customer Support

    Unfortunately, aside from the issues that occasionally get raised here, i have little experience with Litespeed. You might want to check with Litespeed if they can debug the issue, as its related to the how its interfering with the CSS loading.

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