Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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;
    }
    }

    #1030294

    Hey 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,
    Rikard

    #1030689

    That deleted my whole banner image. I said the splatter paint image on the left. It’s the third color section I think.

    #1031082

    Hi,

    Please try this instead:

    @media only screen and (max-width: 479px) {
    .page-id-3394 #section-mobile-bg {
        background-image: none;
    }
    }

    Best regards,
    Rikard

    #1031095

    That didn’t work. I have an iphone. Tried it on my chrome app also and it didn’t work.

    #1031497

    Hi,

    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,
    Rikard

    #1031526

    I already tried it with a higher number.

    #1031926

    Hi,

    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,
    Rikard

    #1031958

    I did everything you said and it’s still there. I even changed the max-width to 812 and it still won’t go away.

    #1032035

    Hi,
    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,
    Mike

    #1032140

    Yay! It’s fixed. Thanks so much!

    #1032216

    Hi,
    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Hide background image on color section’ is closed to new replies.