-
AuthorPosts
-
May 8, 2019 at 5:35 pm #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 NoraMay 12, 2019 at 5:53 pm #1099758Hey NoraGTS,
Please update to the Enfold 4.5.7 and see if the issue persists
Best regards,
VictoriaMay 13, 2019 at 5:28 pm #1100173Yes, it does persist. I made the update and the fullwidth submenu is still not sticky!
May 16, 2019 at 5:26 am #1101234Hi,
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,
IsmaelMay 16, 2019 at 8:17 am #1101316OK, so how do I have to change to script so this doesn’t keep happening?
Please be so kind and let me know!May 16, 2019 at 8:56 am #1101340I set TRUE instead of FALSHE after fixed = , but that didn’t change anything…
May 17, 2019 at 7:51 am #1101676Please, this is really urgent!!! I need the menu to be sticky. It doesn’t make any sense for it not to be!!!!
May 17, 2019 at 12:09 pm #1101745Hi,
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,
IsmaelJune 11, 2019 at 2:41 pm #1109164Hi 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 5 years, 5 months ago by Caiser_Souze.
June 11, 2019 at 3:23 pm #1109179It worked fine with just deleting it!
June 12, 2019 at 4:50 am #1109332 -
AuthorPosts
- You must be logged in to reply to this topic.