… the user scolls down”
How can I achieve this behaviour?
It is working fine on desktop, but does not work in tablet or mobile view. I want the menu/ header to appear, when the user “scrolls” down. Before that, a header section from the page content should be the first a user sees.
Thanks in advance & best regards,
Thomas
Hi mailworm!
Thank you for using Enfold.
I’m sorry but enabling this feature on mobile might break the layout of the page. Also, the required modification can’t be added on a child theme so you have to do it every time you update the theme. Edit js > avia.js, look for this code on line 1527:
if(shrinking && !isMobile)
Replace it with:
if(shrinking)
Edit css > layout.css, look for this code then remove it:
.responsive #top #wrap_all #header {position: relative; width:100%; float:none; height:auto; margin:0 !important; opacity: 1;}
Regards,
Ismael