Jump to content

Custom Caption on Video - Want Title to be under play button

Recommended Posts

Add to Design > Custom CSS

/* video caption */
section[data-section-id="616988e4c958133f99e7711c"] .video-caption {
    position: absolute;
    top: calc(~"50% + 100px") !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
1 hour ago, brittco said:

THANK YOU SO MUCH!!! 

Would it be possible to do this for mobile, also?

Add this code under above code

@media screen and (max-width:767px) {
section[data-section-id="616988e4c958133f99e7711c"] .video-caption {
    width: 100%;
    top: calc(~"50% + 50px") !Important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.