Andrea_K Posted November 13 Share Posted November 13 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) Link to comment
Solution melody495 Posted November 14 Solution Share Posted November 14 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 Developer You dream it, I'll make it happen. Contact me: 💻 https://www.melodylee.tech ✉️ my email 📍 UK based. The great thing about the internet, we can work together from anywhere. #neverstoplearning ☕ I like coffee 😊 Link to comment
Andrea_K Posted November 15 Author Share Posted November 15 @melody495 That worked perfectly, thank you so much!! 🙂 Link to comment
melody495 Posted November 15 Share Posted November 15 You are very welcome 🙂 -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody 💁♀️ SquareSpace Developer You dream it, I'll make it happen. Contact me: 💻 https://www.melodylee.tech ✉️ my email 📍 UK based. The great thing about the internet, we can work together from anywhere. #neverstoplearning ☕ I like coffee 😊 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment