Jump to content

Remove padding above and below embedded vimeo videos

Recommended Posts

  • Replies 3
  • Views 964
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

If you go into each section of the site there are videos.

For the example above :

commercials>discord

But basically every project has a video and has this issue when viewing on mobile.

 

Link to comment

You can add this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
body.collection-63f84118cbca392b5bb01490.view-item {
article section:first-child .fluid-engine {
    grid-template-rows: repeat(8,minmax(24px, auto)) !important;
    margin-top: 15vh;
}
article section:first-child .fluid-engine iframe {
    height: 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

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.