Jump to content

How to resize section background image on mobile to match desktop

Recommended Posts

Hello, I recently uploaded photos to my website and I am wondering if there is a code to match the same width and size of the images that are displayed on desktop to mobile... When on mobile the photo cuts 90 percent of image and I want to same image on desktop to fit on mobile. I used this code

@media screen and (max-width: 767px) {
    section[data-section-id="636c8dd9fd83d57fec38aff2"] {
        min-height:30vh !important
    }
}

and nothing changed... I also tried various methods from videos and other forums and nothing is working.... any help or ideas ?

 

There's a total of 6 images that need to be adjusted....

Screenshot (2).png

Screenshot (3).png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.