Jump to content

Video scaling on mobile breakpoint

Recommended Posts

Try adding to Design > Custom CSS > then save & reload the site

/* resize mobile home top video */
@media screen and (max-width:767px) {
[data-section-id="61aece06afb5cd1d484bf045"] video {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
[data-section-id="61aece06afb5cd1d484bf045"] {
    min-height: unset !important;
    height: 35vh;
    margin-top: 10vh;
}
}

 

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.