How to add round corners to videos in Squarespace

Video with rounded corners and a featured image of 3 young women with a scooter.

Round corners in user interfaces (UI) have been popular for many years now, and I love them. While I’ve been able to round image corners through native settings or CSS, no problem, rounding video corners in Squarespace 7.1 has evaded me. Until now.

While developing a new website template this month, I worked out how to add round corners to videos 🎉. Thanks to knowledge shared by other Squarespace pros online, I’ve discovered what works.

This is a CSS solution. All you need to do is 1) copy and paste the following codes into your Custom CSS panel and 2) adjust the border-radius value to your liking.

 

CSS for adding round corners to videos uploaded to Squarespace 7.1

When rounding corners for video uploads, we need to round both the video player and the custom featured image. So the below code addresses both of those elements.

I highly recommend that you don’t skip uploading a custom featured image. If you choose to skip it, you’ll end up with a height mismatch between the video and the featured image that Squarespace automatically selects for it, like in this example:

Squarespace video player with slight height mismatch between the featured image and the video player underneath. Video thumbnail is an arm stroking a cat on a table.

With a custom featured image, this problem goes away. I’ve found this mismatch only happens with videos uploaded to Squarespace—not for Vimeo/YouTube videos.


/* Round corners for videos uploaded to SQSP */

.video-player .plyr video {
object-fit: cover!important;
border-radius: 15px !important; /* adjust to taste */
}

.video-player .plyr .plyr__controls:before {display:none;}

/* Round custom featured image corners for vids uploaded to SQSP */
.video-player .plyr__video-wrapper {
border-radius: 15px !important; /* adjust to taste */
}

 

CSS to add round corners to Vimeo/YouTube video blocks

Squarespace 7.1 video blocks use a different video player than the native Squarespace player.

Hence, you’ll need separate codes to target video blocks:


/* Round corners on Video Blocks (YouTube, Vimeo, etc.) */
.sqs-block-video iframe {
  border-radius: 15px; /* adjust to taste */
  overflow: hidden;  
}

/* Round custom featured image corners for Video Blocks (YouTube, Vimeo, etc.) */
.sqs-block-video .sqs-video-wrapper {
  border-radius: 15px; /* adjust to taste */
  overflow: hidden; 
}

Happy styling!

How to add round corners to videos in Squarespace: Pin for later
 
 
Tem Pua

Thanks for stopping by. I’m Tem—a film director, script supervisor, Squarespace web designer for film + theatre, and author of this post. If you’ve gotten something useful out of my content, I’m so glad!

Here are a couple of ways you can connect with me:

Explore more of the blog. If you’re a site owner in the worlds of film, TV and theatre, then my blog is for you—covering guides, tutorials, and inspiration specific to our area of creativity.

Get to know my services. I build websites and offer a day/half-day service if you need assistance with a smaller project. More of a DIYer? Browse our premium Squarespace templates for filmmakers.

Previous
Previous

Could this be the best Vimeo alternative for Squarespace?—Bunny Stream

Next
Next

Make an autoplay video thumbnail clickable in Squarespace