Site logo

[Resolved] Hamburger Menu button (and Magnify glass) on Mobile not opening.

Home Forums Support [Resolved] Hamburger Menu button (and Magnify glass) on Mobile not opening.

Home Forums Support Hamburger Menu button (and Magnify glass) on Mobile not opening.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2071059
    lemonrockcompany

    Hi: I’m having issues on mobile. The hamburger menu button along with the magnify search button do not respond in Mobile. Any suggestions on what I should be looking at?

    Site is: https://www.urbanorganicyield.com/

    #2071291
    David
    Staff
    Customer Support

    Hi there,

    its to do with WP Rockets javascript optimizations – can you disable the JS optimizations in WP Rocket to see which one is causing the problem.

    #2071922
    lemonrockcompany

    Hi David. That did the trick – turned off “Load JavaScript deferred’. It’s funny though…I switch it back on, but it works now.

    For the future, if it is not working again, is it possible to give me the JavaScript file so that I can exclude it within WPRocket.

    #2071937
    Elvin
    Staff
    Customer Support

    Hi there,

    For the future, if it is not working again, is it possible to give me the JavaScript file so that I can exclude it within WPRocket.

    This won’t require scripting as this is something you set on WP Rocket’s UI.
    https://docs.wp-rocket.me/article/976-exclude-files-from-defer-js

    You basically add the path to GP’s scripts. You can try wildcard exclusions from these directories on your site.

    /wp-content/plugins/gp-premium/(.*)(
    /wp-content/themes/generatepress/(.*)(
    #2071944
    lemonrockcompany

    Thanks!

    #2071964
    Elvin
    Staff
    Customer Support

    If it doesn’t work immediately, you’ll likely have to purge cache.

    If it doesn’t work after purging the cache, you may have to correct the exclusion path. 🙂

    No problem. 😀

    #2074077
    lemonrockcompany

    Hi GeneratePress:

    The Hamburger menu and Search magnify glass are not working again (both desktop and mobile) – even after switching ALL JavaScript options within WP Rocket. Please advise on you think the issue is.

    #2074391
    David
    Staff
    Customer Support

    I would recommend speaking to WP Rocket – if i disable WP Rocket on the front end then the menus and search work correctly. So there is something else their plugin is doing thats causing a problem.

    #2074858
    lemonrockcompany

    Hi David.. Thanks, I will deactivate WPRocket to see if that works. BTW, I’ve noticed through reading several support forum tickets that you/GeneratPress team do not use WPRocket, rather you use Autoptimize? If so, what caching plugin do you use along with Autoptimize?

    #2075182
    David
    Staff
    Customer Support

    No cache plugins just server side caching.
    Autoptimize we use sparingly to minify and sometimes combine CSS / JS files.
    Favorite optimization plugin at the moment is PerfMatters – has a lot of functions built in and Bryans support is great.

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