Hi Enfold theme;
I have a problem with my header.
I customized the header so it can disappear in scroll down and be visible the moment user scroll up. the problem is, in safari when you scroll up and reach to the top of the page the header disappears. it is correct in chrome but in safari it doesn’t work currectly. how can I fix this bug in safari?
I will appreciate if you answer this question ASAP since we should launch the website quickly.
thanks!
Hey hooman80,
Thank you for the inquiry.
Did you add a custom script for this effect? You might be able to accomplish the same thing by setting the initial opacity of the header to 0, and only set it back to 1 when the class name header-bg-transparent-color is present.
#header {
opacity: 0;
}
#header.header-bg-transparent-color {
opacity: 1;
}
The class name is automatically removed on scroll, hiding the header.
Best regards,
Ismael
Hi Ismael, the solution helped me to fixed my problem thanks for your help :)
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon