Home › Forums › WoodMart support forum › Sticky menu – mega menus don't work – script isn't initialised
Sticky menu – mega menus don't work – script isn't initialised
- This topic has 13 replies, 4 voices, and was last updated 3 years, 9 months ago by
Artem Temos.
-
AuthorPosts
-
May 17, 2021 at 7:08 pm #293074
S.G.ParticipantHi,
Since the update, our sticky menu links have stopped working. They work fine in the standard menu.
You can see a screen recording here: https://we.tl/t-LLA3KJTSYsIt seems that like with the full screen search issue, the JS doesn’t initialise from the sticky menu.
Note: We have a child theme but the issue persists with that turned off too.
Can you please help? Link in private content.
Thanks,
May 18, 2021 at 7:15 am #293203
Aizaz Imtiaz AwanKeymasterHello,
I watched the video you attached.
Please deactivate all the third party plugins, activate the parent theme then clear cache and check back.
If the problem continues then leave all the third party plugins deactivated and provide with the admin panel login details of the website then we will troubleshoot with the theme plugins.
Regards.
Xtemos StudiosMay 19, 2021 at 10:36 am #293615
S.G.ParticipantHi Awan,
I’ve done that and found that it still doesn’t work even with the parent theme on and plugins deactivated.
There seem to be cross browser issues. We did this process twice, and It’s not been working on chrome or chrome-derived browsers at all, it worked on Firefox the first time, but no longer, and it did work on Safari after we disabled the GTM plugin (but given the unreliability we saw with Firefox, that may be a red herring).
The admin details are in the private content section.
Can I please ask that you detail any changes that you make on the site so that we can replicate on our production site or in case we need to revert to an old version?
Thanks,
May 19, 2021 at 12:35 pm #293649
Aizaz Imtiaz AwanKeymasterHello,
The Issue seems to be with the Sticky header clone.
Please Edit the header settings from left top and disable sticky header clone to make your selected header as sticky header.
Screenshot for Clarification: https://ibb.co/YpmWNkJ
And then try setting the header row you want to set as sticky.
Screenshot for Clarification: https://ibb.co/chhD0xL
Regards.
Xtemos StudiosMay 19, 2021 at 12:45 pm #293655
S.G.ParticipantHi Awan,
That’s not going to work for us. It means having to select between showing the basket or search, or showing menus or our logo.
When is the sticky header going to be fixed?
Since the upgrade 2 of our team members have spent days trying to get rid of release bugs. There are a few more bugs we found that we’re about to post too.
This version seemed to have been released prematurely without proper QA and we’re burning resources on it. It’s costing us quite a lot of money. I wouldn’t even call it a beta.
Can you please let us know when we can expect a more stable release?Regards,
May 20, 2021 at 6:11 am #293846
Artem TemosKeymasterHi,
Try to edit the file
woodmart/js/scripts/menu/menuSetUp.js
and replace the following snippetmainMenu.on('click', ' > .wd-event-click > a', function(e) {
with this one
woodmartThemeModule.$document.on('click', '.wd-nav > .wd-event-click > a', function(e) {
You will need to disable Combine and Minify JS options. This bug will be fixed in our next theme update as well.
Kind Regards
May 21, 2021 at 4:59 pm #294483
S.G.ParticipantThanks Artem,
It seems to work.
Unfortunately somewhere while we’ve applied this fix and the one for this ticket (https://xtemos.com/forums/topic/mobile-menus-collapse-when-scrolling/#post-294312)
the search button in the sticky nav on mobile broke and no longer launches the side-menu search.
We can’t figure out why. It persists when we disabled the child theme and all plugins apart from woocommerce, woodmart and elementor.We’ve left them disabled. Can you please help figure it out?
Thanks,
May 25, 2021 at 6:19 am #295157
Eric WatsonParticipantHello,
Try to enable this option https://prnt.sc/13druwt and then select “Search full screen” in this option https://prnt.sc/13drvzp
Regards
May 26, 2021 at 11:47 am #295588
S.G.ParticipantHi Eric,
Both of these have already been in place, so the problem seems to lie elsewhere…
Thanks,
May 26, 2021 at 12:05 pm #295593
Eric WatsonParticipantHello,
We don’t see the search icon in the sticky header right now.
https://prnt.sc/13ftg4iMay 26, 2021 at 3:53 pm #295689
S.G.ParticipantHi Eric,
It was changed while we we’ve been working on something else. I’ve not changed it back. The child theme is disabled and all third party plugins apart from Elementor have been deactivated so you can investigate.
Please note that the issue is on the sticky header on mobile.
Thanks,
May 27, 2021 at 6:31 am #295818
Eric WatsonParticipantHi,
Try to edit the file
woodmart/js/scripts/header/mobileSearchIcon.js
and replace the following snippet$('.wd-header-search-mobile').on('click', function(e) {
with this one
woodmartThemeModule.$document.on('click', '.wd-header-search-mobile', function(e) {
You will need to disable Combine and Minify JS options. This bug will be fixed in our next theme update as well.
Kind Regards
June 7, 2021 at 8:30 am #298057
S.G.ParticipantThank you.
June 7, 2021 at 9:32 am #298079
Artem TemosKeymasterYou are welcome!
-
AuthorPosts
The topic ‘Sticky menu – mega menus don't work – script isn't initialised’ is closed to new replies.
- You must be logged in to create new topics. Login / Register