Jump to content

How do I get rid of unwanted padding below a video block?

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.keystorage.com/video-copy

I am currently upgrading to fluid engine and while upgrading I decided to try a different design on my video resources page. While adding some custom code to the pages advanced code section I got everything working the way I would like except for 2 things. 1.) the border around the iframe video is getting cut off in some videos (I will upload photo). 2.) There is some extra padding below the video itself I cannot remove and would like to for this page only (I will include a photo). This page is currently live but not accessible to the public as of right now. Any help would be appreciated.  

2.JPG

1.JPG

Link to comment
  • Solution

Try adding this to Design > Custom CSS to reduce space

/* video padding */
.embed-block-wrapper {
    margin-bottom: 0px !important;
    padding-bottom: 50% !Important;
}

 

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.