onyva Posted May 5, 2022 Share Posted May 5, 2022 Site URL: https://meinphotokurs.ch Hi guys I'm trying to disable the background image of a section on mobile, but somehow I can't manage to do that. I found in different forums this code: @media screen and (max-width: 768px) { section[data-section-id="6242b5d7ad5bb6583194145b"] .section-background img { display:none !important; } } I tried also different variations I found over the net, but nothing really works... Does someone know what could be the problem? Best regards Link to comment
tuanphan Posted May 8, 2022 Share Posted May 8, 2022 Hi, Which section do you want to disable background image? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
onyva Posted May 11, 2022 Author Share Posted May 11, 2022 Hi tuanphan I want to disable the background of the hero element... Link to comment
websitehelp Posted May 12, 2022 Share Posted May 12, 2022 On 5/8/2022 at 4:07 AM, tuanphan said: Hi, Which section do you want to disable background image? please help me! Link to comment
tuanphan Posted May 15, 2022 Share Posted May 15, 2022 On 5/11/2022 at 6:07 PM, onyva said: Hi tuanphan I want to disable the background of the hero element... It looks like you solved with this? @media screen and (max-width: 768px) { section[data-section-id="6242b5d7ad5bb6583194145b"] .section-background img { display:none !important } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
onyva Posted May 20, 2022 Author Share Posted May 20, 2022 On 5/15/2022 at 5:37 AM, tuanphan said: It looks like you solved with this? @media screen and (max-width: 768px) { section[data-section-id="6242b5d7ad5bb6583194145b"] .section-background img { display:none !important } } Not really, the background is still visible on mobile... Link to comment
onyva Posted June 15, 2022 Author Share Posted June 15, 2022 @tuanphan Do you think that there is a solution to the problem? Link to comment
tuanphan Posted June 15, 2022 Share Posted June 15, 2022 Use this CSS @media screen and (max-width:767px) { .parallax-mirror img { opacity: 0; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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