Jump to content

Set minimum height for captions of embedded youtube videos

Recommended Posts

Site URL: https://www.merlinsheldrake.com

I want to position a series of embedded youtube videos in a regular grid, two videos per row. When I do this the videos form an irregular grid because the captions are different lengths and cause the videos to offset. I overcame a similar problems with an image grid by using code in the custom CSS box that specifies a minimum height for the caption. I wonder if there is something similar that can be done for the video captions? 

Here is the code that sets the minimum height for the image captions: 

 

.image-card.sqs-dynamic-text-container {
    min-height: 220px;
}

 

Any help most welcome, thank you. 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Could you show the page where the youtube videos are?

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, Lightbox Studio plugin
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.