Jump to content

Remove padding around videos?

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.nickwaldinger.com/branding

Hello,

I have several videos being used on my website (linked from Vimeo), but they don't line up flush with pictures above and below them (see screenshot attached). I would like to adjust the padding on all sides of the video to match the pictures above and below it. 

Here is a link to the page I am referring to specifically: https://www.nickwaldinger.com/branding

Thank you!

Screen Shot 2022-09-14 at 11.28.59 AM.png

Link to comment
  • Replies 6
  • Views 2.6k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
On 11/21/2023 at 11:14 AM, KatieSSHelp said:

Hi,

I'm having a similar problem where I'm getting too much padding below a vimeo video. Here is the link, could you please let me know what I could do fix it? 

https://www.learnaslead.com/home-3

Thanks so much!

Try adding this code to Website > Website Tools (under Not Linked) > Custom CSS

/* Vimeo padding */
.fe-655c288c15482d39e3555851 {
    grid-template-rows: repeat(23,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important;
}

 

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
  • 4 months later...

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.