JamieKowalik Posted January 10 Share Posted January 10 I'm trying to remove the background image in one section of my client's website. The problem I'm running into is that this background use the parallax scrolling effect under "image effects" and the code I'm using does not work unless this effect is turned off. Here's the code I'm using: @media only screen and (max-width: 640px){ section[data-section-id="638f6708f2b3a25317940ad5"] .section-background img { opacity:0!important }} I tried adding the code below as well- and it works to remove the background image, however it removes all of the parallax background images and I'm only wanting to target the one section. @media only screen and (max-width: 640px) { .section-background-content { display: none !important; } } Any insight on this issue is greatly appreciated! Link to comment
tuanphan Posted January 15 Share Posted January 15 You can add data-section-id before this code @media only screen and (max-width: 767px) { [enter data section id here] .section-background-content { display: none !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment