Home Forums Basel support forum Mega Menu not working on sticky menu

Mega Menu not working on sticky menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #240203

    nikosvl97
    Participant

    hello, 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 ?

    #240274

    Hello,

    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

    #240724

    nikosvl97
    Participant

    hello, 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 ?

    #240815

    Hello,

    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

    #241009

    nikosvl97
    Participant

    hi, 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?

    https://emall-fashion.com/wp-content/cache/wpo-minify/1605121983/assets/wpo-minify-footer-basel-functions.min.js

    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,
    Tom

    Post Link: https://wordpress.org/support/topic/max-menu-not-working-on-sticky-menu/#post-13653295
    ———–“

    #241070

    Hello,

    Please send them this screenshot and show that we have added https://prnt.sc/vi1e6o

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)