donsvenson Posted January 4 Share Posted January 4 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 Share Posted January 4 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) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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 Author Share Posted January 5 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 Solution Share Posted January 5 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) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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 Share Posted January 5 (edited) My testing Edited January 5 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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 Author Share Posted January 5 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