Jump to content

Mobile Picture is wrong - but desktop version is okay. How can I fix this?

Recommended Posts

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
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.