Hello,
I have a color section with a custom CSS class (intro-box-main). I have the CSS media query below. The intent is to remove the background image on small resolution devices. It works when I shrink my browser window, but not when I try it on my iPhone. I tried both Chrome and Safari and reset the cache. Any ideas?
Thanks in advance.
@media only screen and (max-width: 767px) {
.intro-box-main {
background: #fff;
background-image: none !important;}}
Hey swilschutz,
I can’t see your CSS applying at all, where did you add it? Please try it in Quick CSS and don’t forget to select to delete the old CSS and JS files under Enfold->Performance before you check the results.
Best regards,
Rikard
It’s in the Quick CSS section and it’s working — I can tell because it works when I resize a browser window on the desktop browser, just not in mobile.
I cleared the settings under Performance and it’s still the same.
See Private Content for admin access.
Hi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field instead:
@media only screen and (max-width: 767px) {
.intro-box-main > .av-parallax {
background: #fff;
background-image: unset !important;}}
Best regards,
Mike
Yes, that worked. Thanks, Mike.
Hi,
Glad Mike could help! :)
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