Jump to content

Add overlay to video

Go to solution Solved by Spark-Plugin,

Recommended Posts

  • Solution

Hi @Naturita,

I hope you're having a great day!

Here’s a code you might find useful: 

.sqs-video-background {
    margin: 0 auto;
    padding: 0;
}

.sqs-video-background video {
    display: block;
    width: 100%;
    height: auto;
}

.sqs-video-background:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the color and opacity */
    z-index: 1;
}


Feel free to reach out if you need any more help!

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

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.