Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How do I reduce the image size for full width images on mobile, so that they don't get cropped off?


MH_Gerry

Question

Site URL: https://meridianhivedraftwebsite.squarespace.com/config/pages

HI, 

I wonder if anyone can help me out. I'm revamping our website and have some large full width images on multiple pages (Home page and landing pages). I'd like to reduce the size of the images for Mobile view to prevent them being cut off. 

I've reviewed previous suggestions/advice here but haven't found anything that works for me. 

I've installed an app that allows me to view squarespace block, image and section id's. However I still can't get it to display correctly. Here is an example of the code I've used (I've tried many more combinations):

/* mobile screens */
@media @mobile (max-width: 640px) {
  #section[data-section-id="5f778a51b907d97548c3d728"]{
  Width: 25%;
  Height: auto%;
  }
}

Attached is a couple of images 1. the desktop v 2. the mobile.

1681341626_MobileImage.png.df849e4490294982e9fe5520489e415d.png547284395_Desktopimage.thumb.png.824677d34b563bd102a7038e86ddbc86.png
 

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

Aboutus redirects to admin page, we can't access.

Lemond Landing page Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
body#collection-5f778963c503be0cadb2ecdc #page section:nth-child(2) {
    min-height: 30vh !important;
}
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post
  • 0
2 hours ago, tuanphan said:

Aboutus redirects to admin page, we can't access.

Lemond Landing page Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
body#collection-5f778963c503be0cadb2ecdc #page section:nth-child(2) {
    min-height: 30vh !important;
}
}

 

You are a legend! That worked exactly as I would have hoped. I will take that and resize the rest of my landing pages. 

I truly appreciate your help, thank you!
 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...