Home › Forums › WoodMart support forum › Mobile Sidebar Menu Not Opening After Optimization
Mobile Sidebar Menu Not Opening After Optimization
- This topic has 19 replies, 2 voices, and was last updated 3 weeks, 2 days ago by Luke Nielsen.
-
AuthorPosts
-
November 20, 2024 at 10:02 am #613649
alammdmanzar007ParticipantHello,
I am using the WoodMart theme for my website and recently optimized it using the Airlift plugin to improve the website’s speed. After optimization, the mobile sidebar menu is not opening.
Here are the details of my setup:
Theme: WoodMart
Optimization Plugin: Airlift
Issue: The mobile sidebar menu does not open or respond after enabling JavaScript and CSS optimizations through Airlift.
Temporary Fix: Disabling Airlift resolves the issue, so it seems related to script or CSS optimization.
I suspect the issue might be due to certain JavaScript or CSS files being deferred, combined, or minified, which affects the menu’s functionality. Could you please guide me on:Which JavaScript and CSS files are essential for the sidebar menu?
Which files should I exclude in the Airlift plugin’s optimization settings?
Looking forward to your support.Thank you!
Best regards,
Aman DubeyNovember 20, 2024 at 4:27 pm #613874
Luke NielsenKeymasterHello,
Try to set these files for
Delay JS execution
:jquery.min helpers.min.js clickOnScrollButton searchFullScreen menuOffsets menuDropdowns cartWidget mobileNavigation loginSidebar menuSetUp cart-fragments slick productImages cookie.min owl.carousel owlCarousel imagesLoaded
Kind Regards
November 20, 2024 at 11:40 pm #614004
alammdmanzar007Participantthere is an option in the Airlift plugin to add a URL for JavaScript defer. Can you guide me with the process along with the URL?
My domain name is http://www.samanportable.com- This reply was modified 1 month ago by alammdmanzar007.
November 21, 2024 at 4:15 pm #614322
Luke NielsenKeymasterHello,
It’s better to exclude just files. I suggest you adjust that plugin in the same way as WP Rocket in our article – https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/#Step_4
Kind Regards
November 22, 2024 at 12:02 pm #614601
alammdmanzar007ParticipantI am not using WP Rocket because it isn’t showing significant results for me; that’s why I am using Airlift.
November 22, 2024 at 3:19 pm #614712
Luke NielsenKeymasterHello,
Send me access to the admin panel so I can investigate the site settings.
Thank you in advance.
Kind Regards
November 22, 2024 at 3:43 pm #614729
alammdmanzar007Participanthere is the access of admin panel
November 25, 2024 at 12:13 am #615312
Luke NielsenKeymasterHello,
Sorry for the delay.
I see that you started to use the WP Rocket plugin, also the menu works well now – https://dropmefiles.com.ua/en/SQ6h4NLY
May I enable the Airlift plugin on your side for testing?
Thank you for your time and patience.
Kind Regards
November 25, 2024 at 10:43 am #615391
alammdmanzar007ParticipantYes, I had installed WP Rocket, but the speed score on mobile devices was a maximum of 70, whereas with Airlift, I am getting 95+ on both mobile and desktop. However, the issue with Airlift is that mobile navigation is not working on the homepage; it works fine on other pages. If you can achieve the same speed using WP Rocket, please proceed, or you can also test Airlift. If the mobile navigation issue can be resolved, that would be great
November 26, 2024 at 3:11 pm #616079
Luke NielsenKeymasterHello,
I do not see any areas where you can put files as excluded in the Airlift. Does this plugin have such areas?
Thank you for your time.
Kind Regards
November 27, 2024 at 4:52 pm #616699
alammdmanzar007ParticipantI have removed WP Rocket and reactivated the Airlift plugin. I am attaching a screen recording that you can follow to access the Airlift dashboard. My issue is that after full optimization, the menu is not working on both mobile and desktop.
November 28, 2024 at 10:41 am #616960
Luke NielsenKeymasterHello,
When visiting the Airlift dashboard it asks me for access – https://take.ms/nKlB7, could you please send me access to the Airlift via private area too?
Kind Regards
November 28, 2024 at 1:23 pm #617080
alammdmanzar007ParticipantHere are the login details for Airlift, and I have also attached a screenshot where the header is not loading.
Attachments:
You must be logged in to view attached files.November 28, 2024 at 6:00 pm #617253
Luke NielsenKeymasterHello,
I have excluded the mentioned above files – https://take.ms/QqvRI and it looks like it works well now – https://dropmefiles.com.ua/en/h4yAak8Y
Please recheck it on your side.
Kind Regards
November 29, 2024 at 8:48 am #617427
alammdmanzar007ParticipantYes, in your screen recording, everything seems to be working perfectly. However, whenever I re-optimize with Airlift, everything works fine for a while, but since Airlift continues to optimize other files in the background, after the full website optimization is complete, the menu stops working. I am attaching the latest screen recording.
November 29, 2024 at 4:47 pm #617743
Luke NielsenKeymasterHello,
The
mobileNavigation
script is responsible for the mobile menu so I have excluded it – https://prnt.sc/NnzGqwRxEPji and now check how it works.Kind Regards
November 30, 2024 at 11:47 am #617956
alammdmanzar007ParticipantThe menu is working on mobile, but the header is loading blank on desktop.
November 30, 2024 at 5:08 pm #618006
Luke NielsenKeymasterHello,
Disable the “Mobile DOM optimization (experimental)” option in Theme Settings -> Performace -> Others: https://prnt.sc/6LeGjnRqlEta, clear the cache and recheck the issue.
Kind Regards
December 3, 2024 at 11:14 am #618831
alammdmanzar007ParticipantI have not installed a child theme, and I have made several customizations in the parent theme, such as adding some code in functions.php and some code in the header. Now, I need to update the theme because an update is available. How should I proceed?
December 3, 2024 at 11:51 am #618855
Luke NielsenKeymasterHello,
You need to install the child theme and move all customization to the child theme thus after the update all your custom changes will be saved.
https://xtemos.com/docs-topic/setup-child-theme/
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register