Jump to content

Change image size on mobile

Recommended Posts

  • Replies 3
  • Views 282
  • Created
  • Last Reply

I think you can place with min-height attribute of the section, I used Chrome Find Squarespace Ids to get the section id

@media only screen and (max-width: 600px) {
      section[data-section-id="5fa42e7300c2ee4d97e45bf4"] {
        min-height: 50vh !important;
    }
}

image.png.2b39c7427ecc1039304c02445ffde660.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

image.thumb.png.9e783ca9ab9cea79bd7f2a46faaad50f.png

@media only screen and (max-width: 600px) {
  body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .top-bun, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .patty, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .bottom-bun {
    background: #fff;
    height: 3px;
  }
  section[data-section-id="5fa42e7300c2ee4d97e45bf4"] {
          min-height: 50vh !important;
          padding-top: 0 !important;
      }
  section[data-section-id="5fa42e7300c2ee4d97e45bf4"] .section-background {
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.