Jump to content

Trouble resizing image block on mobile site

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

18 hours ago, jsweeti95 said:

Site URL: http://blenny-shallot-rpmf.squarespace.com

Hello, 

I've been having trouble resizing the block image at the bottom of my mobile website. I'm trying to make it mobile-friendly. I'm on trial so the website password is Vanishing28#

Is there an appropriate code to use for custom css?

Screenshot 2021-10-19 162510.png

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="616f1efca9f40869aa59365a"] .section-background img {
    height: auto !important;
  }

  section[data-section-id="616f1efca9f40869aa59365a"] .section-background {
    bottom: unset;
  }

  section[data-section-id="616f1efca9f40869aa59365a"] {
    min-height: 0 !important;
  }
  section[data-section-id="616dcc993b28333dda9e6295"] {
    display: none;
  }
  #footer-sections {
    margin-top: 3em;
  }
}

Let me know if it works properly on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing result

image.png.c5b1eaf748c6a582c766e77f5b153461.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 2 weeks later...
On 11/1/2021 at 11:31 PM, jsweeti95 said:

Thank you! My site has changed quite a bit now! Would the same code work? I want to resize the image blocks in the screenshots below.

www.jasminesweeting.com 

Screenshot 2021-11-01 123013.png

Screenshot 2021-11-01 122959.png

Screenshot 2021-11-01 122936.png

Screenshot 2021-11-01 122843.png

Add to Design > Custom CSS

/* Resize Mobile Image above footer */
@media screen and (max-width:767px) {
[data-section-id="616f1efca9f40869aa59365a"] {
    min-height: unset !important;
}
}

 

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.