Jump to content

How can I get my carousel-summary blocks to line up?

Recommended Posts

I used custom code that I found to change the background color and add padding to my summary-carousel blocks. Unfortunately, I cannot figure out how to make the slides at the bottom line up, so that all of the blocks appear to have the same length.

My code WAS working at first, and then it stopped working? Here's what I have—

 

 .sqs-gallery-design-carousel-slide .summary-content {
background: #D4AC97;
padding: 20px;
flex: 1;
}
.sqs-gallery-design-carousel-slide .summary-thumbnail-container {
margin-bottom: 0 !important;
}
.sqs-gallery-design-carousel .sqs-gallery {
display: flex;
}
.sqs-gallery-design-carousel .sqs-gallery-design-carousel-slide {
display: flex;
}
.sqs-gallery-design-carousel .sqs-gallery-design-carousel-slide {
display: flex;
flex-direction: column;
flex: 1 0 auto;
}

 

Please help!

Screen Shot 2020-10-25 at 11.58.24 AM.png

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

31 minutes ago, rwp said:

I've been messing with this for about an hour, I can't get anything to work.

@tuanphan any ideas?

I think I will set min-height for title ☺️

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
  • 1 year later...
On 10/27/2020 at 10:36 PM, rwp said:

I think that's the only way.

Another similar option would be to set min-height for .summary-content. This works if you have a bunch of metadata that could also go onto multiple lines. Example:

.summary-content {min-height:100px}

 

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.