Jump to content

Scaling background videos for mobile

Recommended Posts

On 6/15/2023 at 9:19 PM, 27Moon said:

thanks for your reply. I've added the code but unfortunately it doesn't look correct, now the header is almost completely gone and actually the black banner up and down is not disappearing. Any hints?

Screenshot 2023-06-15 at 15.22.18.png

Use this new code

@media screen and (max-width:767px) {
[data-section-id="64496145f57a345d30632979"] {
    min-height: unset !important;
    height: 20vh;
}
    [data-section-id="64496145f57a345d30632979"] h1 {
        font-size: 20px;
        line-height: 30px;
        position: relative;
        top: 50px;
    }
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Hey Tuanphan, 

I just launched a real estate site and am running into the same thing with a background video. On the desktop it looks totally fine but the scaling on mobile is way off. I am guessing most people coming to my site will be looking on their phones so would love to have it correct. 

Website is www.smithmountainlakerealestate.com

 

attached a few screen shots. What would be the best way to make sure it fits right on both desktop and mobile. Thank you so much for your time. 

 

IMG_2640.thumb.PNG.d6078094cdef97ef005a157e1e68b25f.PNGIMG_2641.thumb.PNG.686da5a9f1bfd959be6edea5279bf3dc.PNGScreenShot2023-06-21at12_21_30PM.thumb.png.d1cff85c6cf9aea36b9db044e30280c7.png

Link to comment
On 6/21/2023 at 11:24 PM, BillyDesign123 said:

Hey Tuanphan, 

I just launched a real estate site and am running into the same thing with a background video. On the desktop it looks totally fine but the scaling on mobile is way off. I am guessing most people coming to my site will be looking on their phones so would love to have it correct. 

Website is www.smithmountainlakerealestate.com

 

attached a few screen shots. What would be the best way to make sure it fits right on both desktop and mobile. Thank you so much for your time. 

 

IMG_2640.thumb.PNG.d6078094cdef97ef005a157e1e68b25f.PNGIMG_2641.thumb.PNG.686da5a9f1bfd959be6edea5279bf3dc.PNGScreenShot2023-06-21at12_21_30PM.thumb.png.d1cff85c6cf9aea36b9db044e30280c7.png

Can you share link to page where you use video?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.