- This topic has 9 replies, 3 voices, and was last updated 4 years, 2 months ago by
David.
-
AuthorPosts
-
January 6, 2022 at 6:48 am #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/
January 6, 2022 at 7:56 am #2071291David
StaffCustomer SupportHi 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.
January 6, 2022 at 8:43 pm #2071922lemonrockcompany
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.
January 6, 2022 at 9:16 pm #2071937Elvin
StaffCustomer SupportHi 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-jsYou 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/(.*)(January 6, 2022 at 9:26 pm #2071944lemonrockcompany
Thanks!
January 6, 2022 at 10:01 pm #2071964Elvin
StaffCustomer SupportIf 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. 😀
January 9, 2022 at 3:19 am #2074077lemonrockcompany
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.
January 9, 2022 at 8:01 am #2074391David
StaffCustomer SupportI 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.
January 9, 2022 at 8:30 pm #2074858lemonrockcompany
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?
January 10, 2022 at 4:19 am #2075182David
StaffCustomer SupportNo 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. -
AuthorPosts
- You must be logged in to reply to this topic.