Jump to content

Resizing Background Video for Mobile in CSS

Recommended Posts

1 hour ago, Daiglefan91 said:

Site URL: http://www.murrayhendersonart.com

If you check out my site at www.murrayhendersonart.com on mobile, the mp4 background video is cut off on the sides and I haven't been able to find the coding for css to fix it.  Please help its driving me insane!

is this the video on heading

image.thumb.png.71e78455efee2fd6e64570a325264baa.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
36 minutes ago, Daiglefan91 said:

Yes thats what I am trying to make smaller in the mobile version

Is it the result you want to achieve?

image.png.2d821d862d2feacbca5981e643440e1d.png

 

 

Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
15 minutes ago, Daiglefan91 said:

Ba, let me know when you have the code.  Many thanks!

 

 

You can add to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="616a44844ce3d463eaaae0a9"] video {
    width: 100% !important;
    height: auto !important;
  }

  section[data-section-id="616a44844ce3d463eaaae0a9"] {
    min-height: unset !important;
    margin-top: 100px;
  }
}

Let me know if it works properly on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.