Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1098518

    Hello,
    I added a fullwidth submenu to all my pages, and set it so it remains sticky on top as soon as you start scrolling.
    Now I had to make changes to my main menu – I set it to burger style, and all of a sudden the fullwidth submenus on all my pages aren’t sticky anymore. So it’s the menu containing the items SHIATSU | OSTEOPATHIE | etc.
    The menu should stay on top as soon as I scroll down.
    Thanks Nora

    #1099758

    Hey NoraGTS,

    Please update to the Enfold 4.5.7 and see if the issue persists

    Best regards,
    Victoria

    #1100173

    Yes, it does persist. I made the update and the fullwidth submenu is still not sticky!

    #1101234

    Hi,

    Thanks for the update.

    That is the default behavior of the sub menu. It turns off or ignores the “sticky” option when the burger icon is enabled.

    /**
    * If we have burger menu active we ignore sticking submenus
    */
    if( burger_menu.is(":visible") )
    {
       this.css({top: 'auto', position: 'absolute'}); fixed = false;
       return;
    }

    You will find that script in the config-templabuilder > aviashortcodes > menu > menu.js file.

    Best regards,
    Ismael

    #1101316

    OK, so how do I have to change to script so this doesn’t keep happening?
    Please be so kind and let me know!

    #1101340

    I set TRUE instead of FALSHE after fixed = , but that didn’t change anything…

    #1101676

    Please, this is really urgent!!! I need the menu to be sticky. It doesn’t make any sense for it not to be!!!!

    #1101745

    Hi,

    We would like to apologize for the late response.

    You can remove that code completely, but we’re not sure if it’s going to break something else. Don’t forget to toggle the Performance > File Compression settings after the modification.

    Best regards,
    Ismael

    #1109164

    Hi Nora,
    I had the same problem with the sticky submenu and burger menu.
    Uncommenting the code works too :)

    Tank you Ismael !

    • This reply was modified 4 years, 10 months ago by Caiser_Souze.
    #1109179

    It worked fine with just deleting it!

    #1109332

    Hi,

    Good to hear. Please don’t hesitate to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.