crlnray23 Posted March 31, 2020 Share Posted March 31, 2020 Site URL: https://www.bendameronmusic.com/ How can I change the background picture on the mobile view? I created the website looking at the desktop version. Everything else looks fine. The desktop picture is expanded so when I look at it on my phone I don't get any part of the picture that I need. How can I change just this one element for the mobile site without changing the desktop? In the threads I've read, CSS Media Queries are mentioned, but I don't know what that is. Thanks! Link to comment
tuanphan Posted March 31, 2020 Share Posted March 31, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { /* set height */ [data-section-id="5e703c4f1356f60cd4dda450"] { min-height: 40vh !important; padding-top: 0 !important; } /* set image position */ [data-section-id="5e703c4f1356f60cd4dda450"] .section-background img { object-position: 50% 50% !important; } } I like music ✌️ 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
Archived
This topic is now archived and is closed to further replies.