Jump to content

Auto List - set Carousel Grid row to match content height

Recommended Posts

Site URL: https://amritaedtc.squarespace.com/?password=test

I am using the Auto List Carousel section as a testimonial slider, and am trying to apply an "min-content" style auto-height to the grid rows. Because I have one slide that is larger than the rest due to its content (see photos), the smaller slides take on that same minimum height, leaving the arrows at an awkward distance from the content.

I tried to insert the following code to change the grid rows to match the height of the content, but it is not working. Any thoughts?

.user-items-list-carousel__slides {
grid-auto-rows: minmax(min-content, max-content);
}

 

Images:

  1. Smallest slide - with code added that isn't working
  2. Largest slide - that sets the base height for carousels
  3. Mockup - of ideal space where arrow should go

Screen Shot 2022-03-25 at 4.31.32 PM.png

Screen Shot 2022-03-25 at 4.32.02 PM.png

Screen Shot 2022-03-25 at 4.36.30 PM.png

Link to comment
  • Replies 0
  • Views 194
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.