-
AuthorPosts
-
November 6, 2018 at 2:48 am #1030141
I’m trying to hide the background image on a color section of my website on mobile (splatter paint image on the left). I used the css code you recommend but it’s not working and I can’t figure out why. Thanks!
/* Section background on mobile */
@media only screen and (max-width: 767px) {
#top #section-mobile-bg {
background: none !important;
}
}November 6, 2018 at 9:07 am #1030294Hey tonyaleigh,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 479px) { #fullscreen_slider_1 li.av-single-slide { background-image:none !important; } }
Best regards,
RikardNovember 7, 2018 at 3:55 am #1030689That deleted my whole banner image. I said the splatter paint image on the left. It’s the third color section I think.
November 8, 2018 at 4:49 am #1031082Hi,
Please try this instead:
@media only screen and (max-width: 479px) { .page-id-3394 #section-mobile-bg { background-image: none; } }
Best regards,
RikardNovember 8, 2018 at 5:35 am #1031095That didn’t work. I have an iphone. Tried it on my chrome app also and it didn’t work.
November 9, 2018 at 4:37 am #1031497Hi,
Thanks for the update. Did you try changing the media query to a higher value? Please try this instead:
@media only screen and (max-width: 767px) { .page-id-3394 #section-mobile-bg { background-image: none; } }
Best regards,
RikardNovember 9, 2018 at 5:42 am #1031526I already tried it with a higher number.
November 10, 2018 at 8:15 am #1031926Hi,
Please try it at the very top of Quick CSS, turn off your caching plugin and file compression under Enfold->Performance and select to delete the old CSS and JS files. When to not use a caching plugin.
Best regards,
RikardNovember 10, 2018 at 9:29 am #1031958I did everything you said and it’s still there. I even changed the max-width to 812 and it still won’t go away.
November 10, 2018 at 4:35 pm #1032035Hi,
I adjusted your css in your Quick CSS to:@media only screen and (max-width: 767px) { #top #section-mobile-bg .av-parallax { background: none !important; } }
Please clear your browser cache and check. Also feel free to adjust the 767px to suit.
Best regards,
MikeNovember 11, 2018 at 7:09 am #1032140Yay! It’s fixed. Thanks so much!
November 11, 2018 at 2:51 pm #1032216Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Hide background image on color section’ is closed to new replies.