- This topic has 10 replies, 2 voices, and was last updated 6 months ago by Leo.
October 2, 2022 at 1:22 am #2360286Zoltan
I am using the dispatch GP premium theme and the mobile dropdown menu is not working on mobile.
Currently, the only time the mobile menu is visible and works are after I am doing a search for any random term in the mobile search bar.
Desktop is fine, the only issue is on mobile.
Can you please take a look?
ZoltanOctober 2, 2022 at 9:53 am #2360706LeoStaffCustomer Support
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know 🙂
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2022 at 10:23 am #2360716Zoltan
I disabled all the plugins one by one while checking if the mobile menu works.
Do you know any workarounds for this, please?
Please let me know.
Thanks!October 2, 2022 at 10:24 am #2360717Zoltan
Does it allow you to exclude some scripts?
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2022 at 10:56 am #2360745Zoltan
Yes, it does allow to exclude JS: “Listed JS files or inline JS code will not be deferred. Both full URLs and partial strings can be used.”October 2, 2022 at 11:35 am #2360778LeoStaffCustomer Support
Can you check with LiteSpeed’s support team to see if there is a way to exclude all files from
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2022 at 11:45 am #2360792Zoltan
I will check, thanks!October 2, 2022 at 11:51 am #2360802LeoStaffCustomer Support
Sounds good. Let me know.
I’ll keep this topic open.
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2022 at 12:20 pm #2360827Zoltan
So the mobile menu now works on both of my Dispatch theme LiteSpeed cached sites, if JS is deferred.
If JS is delayed (this was causing the frontend issue) then the Dispatch mobile menu stops working.
As a quick fix, I changed the setting to JS deferred. It appears Litespeed does not have an option to exclude JS delay scripts only can exclude JS defer scripts.
Thanks, Leo this should work fine now.October 2, 2022 at 12:23 pm #2360829LeoStaffCustomer Support
Thanks for sharing the result!
Adding CSS: http://docs.generatepress.com/article/adding-css/
- You must be logged in to reply to this topic.