donsvenson Posted January 4, 2023 Share Posted January 4, 2023 Hi Squarespace community, I'm trying to use custom css codes to style the display of on page videos. However, none of them are working despite being correct and I can't figure out why. I'm talking about codes such as: //-- add a border around the video .sqs-video-wrapper{border: 1px solid #50bdb8;} //-- add a shadow to the video .sqs-video-wrapper{box-shadow: 5px 5px 20px rgba(0,0,0,0.2);} //-- layered offset background color .sqs-video-wrapper{box-shadow: 20px 20px 0px #50bdb8;} Other css codes work without problem. Does anyone have an idea why? Kind regards Link to comment
Beyondspace Posted January 4, 2023 Share Posted January 4, 2023 4 hours ago, donsvenson said: Hi Squarespace community, I'm trying to use custom css codes to style the display of on page videos. However, none of them are working despite being correct and I can't figure out why. I'm talking about codes such as: //-- add a border around the video .sqs-video-wrapper{border: 1px solid #50bdb8;} //-- add a shadow to the video .sqs-video-wrapper{box-shadow: 5px 5px 20px rgba(0,0,0,0.2);} //-- layered offset background color .sqs-video-wrapper{box-shadow: 20px 20px 0px #50bdb8;} Other css codes work without problem. Does anyone have an idea why? Kind regards Can you share your site with the protected password so I can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
donsvenson Posted January 5, 2023 Author Share Posted January 5, 2023 20 hours ago, Beyondspace said: Can you share your site with the protected password so I can take a look? Hi Beyondspace, https://www.luxlessons.lu/luxembourgish-language-course pw: abc143 Thanks for your help! Link to comment
Solution Beyondspace Posted January 5, 2023 Solution Share Posted January 5, 2023 You can try the following code on Home > Design > Custom Css .sqs-block-video .sqs-native-video { border: 1px solid red; } Support me by pressing 👍 or marking as solution if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted January 5, 2023 Share Posted January 5, 2023 (edited) My testing Edited January 5, 2023 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
donsvenson Posted January 5, 2023 Author Share Posted January 5, 2023 19 minutes ago, Beyondspace said: You can try the following code on Home > Design > Custom Css .sqs-block-video .sqs-native-video { border: 1px solid red; } Support me by pressing 👍 or marking as solution if this useful for you Works perfectly, thanks! Beyondspace 1 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