Jump to content

Video Collection Page - Change aspect ratio of the displayed video images

Go to solution Solved by tuanphan,

Recommended Posts

Hi,

I have created a members area on a site i'm building for a client. 

Part of the members area has a video collection which works grate and is exactly what the client wanted, apart from her videos are already hosed on Vimeo and to has too many to move to Square Space. The problem as you can hopefully see from the image is that Vimeo has a 16:9 ratio and the collections page is using (I think) 4:3 which cuts of the edges of the video.

Does anyone know how to or have code that will force the images of the videos on the collections page to display in 16:9?

Cheers

Dan

C2CD0601-B6CE-4DD3-9D97-FA367017AC11.jpeg

Link to comment
  • Replies 11
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 1/30/2023 at 1:56 AM, DSImagery said:

Hi @tuanphan,

the link is https://trumpet-cone-hm97.squarespace.com/keep-mums-fit-ondemand-videos for the top level catalog page but the images are displaying the same on the category pages too.

Any help appreciated, just need it to display the video image in the correct aspect ratio.

Cheers

Dan

Add this to Design > Custom CSS

/* show image fullsize */
.lessons.collection-content-wrapper .grid-item .grid-item-image {
    object-fit: contain !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
  • 1 year later...

Hi - did this work?  I am having the same problem.  For some reason in the 'video' page template sqaurespace has made the video aspect ration 3x2.  No idea why as that isn't a standard video aspect ratio.  All my videos are 16x9 and if I use this all the edges will be cropped and the video wont display correctly.  Does anyone know of a fix or a code to make the template video 16x9?  And if so where do I enter the code? 

Thank you for your help. 

Dave

 

Link to comment
  • 3 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.