Andrea_K Posted November 13, 2023 Posted November 13, 2023 Hello! I'm trying to add borders to the videos on my site and am running into an issue where the border is not fully flush with the video–there's a little extra space at the top of each. I've attached an image below where you can see the thin white section at the top of the videos. I'm not sure why this is happening because the videos came out of iMovie with a 16:9 ratio and I thought that was the ratio Squarespace uses for video blocks? Anyway, here's the code that I used to make the border: .video-player { border: solid 4px #000369 !important; } I tried playing around with changing the padding (as I saw some people do to fix the aspect ratio for a 9:16 image) but didn't have any luck. Any ideas for how to fix this issue are very appreciated! website: andreakloehn.com password: flute43 (this issue is on the "music copy" page)
Solution melody495 Posted November 14, 2023 Solution Posted November 14, 2023 Hi, try replacing with this code instead? Let me know how it goes. .sqs-block-video .sqs-native-video { border: solid 4px #000369 !important; } -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you)
Andrea_K Posted November 15, 2023 Author Posted November 15, 2023 @melody495 That worked perfectly, thank you so much!! 🙂
melody495 Posted November 15, 2023 Posted November 15, 2023 You are very welcome 🙂 -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment