Jump to content

Video resizing, no previous post I read helps

Go to solution Solved by Beyondspace,

Recommended Posts

Posted

Site URL: https://www.masonmore.ca

I have a video with an aspect ratio of roughly 1:1.13 on my site. I have tried other methods of resizing from others questions but none of it applies. I am looking for a fix to shrink the padding (i think its padding at least) around the video to fit the video without brute forcing it with !important. 

The block in question is the one beside the section header "Customization and Personalization Interfaces".

  • Solution
Posted
On 11/26/2024 at 10:43 PM, Mace said:

Site URL: https://www.masonmore.ca

I have a video with an aspect ratio of roughly 1:1.13 on my site. I have tried other methods of resizing from others questions but none of it applies. I am looking for a fix to shrink the padding (i think its padding at least) around the video to fit the video without brute forcing it with !important. 

The block in question is the one beside the section header "Customization and Personalization Interfaces".

try

#block-f4b753a1ce01eaa24eba .sqs-native-video .native-video-player {
  padding-top: 88%;
}

image.thumb.png.3aebb430e986d183de1a2878b1b7a7ad.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.