Jump to content

Video CSS Codes Not Working

Go to solution Solved by Beyondspace,

Recommended Posts

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
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • Solution

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.4f71c1f0e44f5571ac532d2367c56409.png

 

Edited by Beyondspace

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.