Jump to content

Make video background fit on mobile devices

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi! Im working on a small website, as a background there is a small video animation that works well on desktop but not so much on mobile, i saw other people with the same issue but i cant seem to resolve it on my own, how can i make it fit proprebly on mobile?

here is the website: https://www.nbinfissi.it/ 
thanks in advance for the help 

  • Solution
Posted

You can use this code to Website > Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width:991px) {
[data-section-id="657cc111d92a2e0132a32c63"] {
    min-height: unset !important;
    height: 30vh;
    margin-top: 5vh;
}
}

 

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!)

Posted
1 hour ago, tuanphan said:

You can use this code to Website > Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width:991px) {
[data-section-id="657cc111d92a2e0132a32c63"] {
    min-height: unset !important;
    height: 30vh;
    margin-top: 5vh;
}
}

 

Thank you so so much!!!!

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.