How can I unstick the header on mobile devices? I have an sticky header, but this should be ignored on mobile…
I guess it is in my child-CSS codes, but do not know what to change. Really appreciate your help!
Thank in advance!
Hey,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
@media only screen and (max-width: 769px) {
.html_header_sticky.html_header_transparency #top #wrap_all #header, .html_header_sticky #top #wrap_all #header {
position: relative;
}}
Best regards,
Yigit
Hi Yigit,
This code is not working for me! Maybe it is conflicting with the other codes in my child-theme CSS?
Best regards,
Patrick
Hi,
Please try using the code as following
@media only screen and (max-width: 769px) {
.html_header_sticky.html_header_transparency #top #wrap_all #header, .html_header_sticky #top #wrap_all #header {
position: relative!important;
}}
If it still does not work, please create temporary admin logins and post them here privately so we can look into it.
Best regards,
Yigit
Works like a charm!
Thank you Yigit, great support.
Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Best regards,
Yigit