Home › Forums › Basel support forum › Mega Menu not working on sticky menu
Mega Menu not working on sticky menu
- This topic has 5 replies, 2 voices, and was last updated 4 years ago by Elise Noromit.
-
AuthorPosts
-
November 9, 2020 at 3:20 pm #240203
nikosvl97Participanthello, i am using mega menu and i realised that when i am using the “Logo Center” Header Layout, it doesnt work on the sticky menu when i am scrolling down.. in the e-commerce header is working. can you help me ?
November 9, 2020 at 9:17 pm #240274
Elise NoromitMemberHello,
Please deactivate all the plugins not related to the theme and check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Best Regards
November 11, 2020 at 11:35 am #240724
nikosvl97Participanthello, i received that answered from the plugin developer
”
The only way I can see to (potentially) fix this is to edit the theme files. The theme is cloning the menu to the sticky header using jQuery clone, but it is only performing a ‘shallow’ clone (without data and events). You would need to contact your theme authors and ask them to make this change:https://www.screencast.com/t/3dCv4IZbB
I think that should fix it.
Regards,
Tom
”what i have to make ?
November 11, 2020 at 4:00 pm #240815
Elise NoromitMemberHello,
Please find the file: basel/js/functions.js
Then replace this code:
var logo = header.find(".site-logo").clone().html(), navigation = header.find(".main-nav").clone().html(), rightColumn = header.find(".right-column").clone().html();
for this one:
var logo = header.find(".site-logo").clone(true).html(), navigation = header.find(".main-nav").clone(true).html(), rightColumn = header.find(".right-column").clone(true).html();
as shown on the screen: https://gyazo.com/1cbbf72466b5bea4b1bee48c7f8624d2
Best Regards
November 12, 2020 at 11:02 am #241009
nikosvl97Participanthi, i changed it but nothing. ichanged it and ithe the link from wp-minify and still nothing . here is the answer from the developer
”megamenu wrote:
Hi vlassakos,
I don’t see that change in this file?
The .html() bit might need to be removed also, which may mean changing code further down the line. It’s difficult to say when looking at a minified file and no ability to debug it. In short, the menu needs to be copied with data and events. As it is the theme doing the copying it is something they would need to investigate and fix from their end. Please can you report the issue to them and link them to this thread?
Regards,
TomPost Link: https://wordpress.org/support/topic/max-menu-not-working-on-sticky-menu/#post-13653295
———–“November 12, 2020 at 2:21 pm #241070
Elise NoromitMemberHello,
Please send them this screenshot and show that we have added https://prnt.sc/vi1e6o
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register