Jump to content

Resize carousel block on mobile (overflow issue )

Recommended Posts

Hello, I tried increasing the size of the carousel gallery on mobile  but it overflows into the below section. This is the code I used. See attached image, before and after code. Need help, thanks in advance.  http://lohanne-quintella.squarespace.com/  Pass: Lohannequintella

@media screen and (max-width:767px) {
.sqs-gallery-design-strip  {
    height: 40vh !important;
	overflow: scroll;
}
}

BEFORE:

1441508071_ScreenShot2022-04-14at19_36_09.thumb.png.720462ace25be8da1fa36265178c0432.png

1913944724_ScreenShot2022-04-14at19_36_57.thumb.png.97b9d89d0c151722bab2bb379c4f8a30.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 4/15/2022 at 11:50 PM, HunterD said:

 

Hello, I tried increasing the size of the carousel gallery on mobile  but it overflows into the below section. This is the code I used. See attached image, before and after code. Need help, thanks in advance.  http://lohanne-quintella.squarespace.com/  Pass: Lohannequintella

@media screen and (max-width:767px) {
.sqs-gallery-design-strip  {
    height: 40vh !important;
	overflow: scroll;
}
}

BEFORE:

1441508071_ScreenShot2022-04-14at19_36_09.thumb.png.720462ace25be8da1fa36265178c0432.png

1913944724_ScreenShot2022-04-14at19_36_57.thumb.png.97b9d89d0c151722bab2bb379c4f8a30.png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px){
  section[data-section-id="625ac742ce43721fdfb05d88"] img {
    height: auto !important;
  }
  section[data-section-id="625ac742ce43721fdfb05d88"]  .user-items-list-carousel[data-layout-width="full"] .user-items-list-carousel__gutter {
    padding: 0;
  }
}

Let me know how it works on your site

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

image.png.7eb8855484e696d51b05d3a2afa45ad6.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

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.