Jump to content

Video Banner cropped in Bedford Template

Recommended Posts

Site URL: https://nick-haddad-ox4c.squarespace.com/config/

Hello

I'm trying to use a video for a banner on each of my pages using the Bedford template but many of them are getting cropped at the top and bottom. Is there a way to make sure the entirety of the video is seen and not cropped? I've already added returns in the page description to make the banner bigger but I don't want to go too much so that users won't have to scroll too much to get to the page content. 

 

Thanks

Link to comment
  • Replies 1
  • Views 261
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 3/12/2022 at 1:05 AM, TalkingDog said:

Site URL: https://nick-haddad-ox4c.squarespace.com/config/

Hello

I'm trying to use a video for a banner on each of my pages using the Bedford template but many of them are getting cropped at the top and bottom. Is there a way to make sure the entirety of the video is seen and not cropped? I've already added returns in the page description to make the banner bigger but I don't want to go too much so that users won't have to scroll too much to get to the page content. 

 

Thanks

Add to Design > Custom CSS > Then save & reload the site

/* Mobile resize video */
@media screen and (max-width:640px) {
body.homepage figure iframe {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
}
body.homepage .banner-thumbnail-wrapper.has-description {
    height: 120px !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.