I am trying to hide the color section from mobile devices using an ID# but the code is not working. How do I hide the color section from the homepage that includes the animated numbers?
Hey dorikoren,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
.home #34343 {
display:none !important;
}
}
Best regards,
Rikard
Hi Rikard, I added the code but it’s still not working. Not sure if it’s because the section includes animated numbers. Any other ideas?
Hi,
Have you cleared your cache a few times over? Also, make sure you add this to the very top of quick css. This way it runs first.
Best regards,
Jordan Shannon
I have tried clearing the cache and moving the shortcut to the very top of the quick CSS but the color section with the animated numbers is still showing on mobile devices. Anything else I can do to resolve this?
Hi,
Remove the original css we gave you and replace with this:
@media only screen and (max-width: 767px) {
.home .avia-section.main_color.avia-builder-el-47 {
display:none!important;
}
}
Best regards,
Jordan Shannon
Thank you!
Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon