Hi,
I would like to have the burger menu on desktop browser appear on scroll down of the page.
Only when the page is at the top, the regular menu should be visible.
Fortunately, this thread already seem to have a solution for exactly what I need:
https://kriesi.at/support/topic/can-main-menu-be-replaced-by-burger-on-scroll-2/
Unfortunately, the code posted there seems to be not the final version. So it would be great if I could get this solution
working for my site, too.
Any help here is greatly appreciated !
Many thanks,
Ralf
Hey Gust2007,
Thank you for using Enfold.
Can we see the site? We need to inspect the default and mobile menu. Please provide the site URL in the private field.
Best regards,
Ismael
Hi Ismael,
sure. Details in private content.
Hi,
Thanks for the info.
We applied the modifications. The burger/mobile menu should be visible on load and then switch to the default/text menu on scroll. Is that what you wanted?
Best regards,
Ismael
Hi Ismael,
thanks for the modifications. Actually, I wanted it exactly the other way round, but I was able to fix this by myself.
Just by changing the comparison code in functions.php.
So it works fine now.
Thank you very much for your help !
Greetings,
Gust2007
Hi Gust2007,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria