Videos cropped themselves

Solved

Videos cropped themselves

Gnarlyship
Tourist
12 0 4

Hey guys I have a multi column video section on my store and for some reason my videos kind of cropped themselves does anyone know how to fix this?

 

thanks 

Accepted Solution (1)

tim
Shopify Partner
4548 548 1660

This is an accepted solution.

You can easily avoid cropping, by adding this code to the "Custom CSS" setting of this section:

[class*=multicolumns] video {
  object-fit: contain;
}

Do not edit theme code -- this will make future theme updates complex.

 

 

But this will not look great:

Screenshot 2025-04-30 at 1.14.11 PM.png

In my opinion they look pretty good the way they are now...

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 4 (4)

Asad-Mahmood
Shopify Partner
446 80 91

What's your store url ?

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




Gnarlyship
Tourist
12 0 4

Asad-Mahmood
Shopify Partner
446 80 91

Go to your online stre -> edit code -> base.css file and paste this code there

@media (min-width: 768px) {
    .multicolumns-item-video-template--17957280186504__ss_multicolumns_video_ecCHnG video {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}
If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




tim
Shopify Partner
4548 548 1660

This is an accepted solution.

You can easily avoid cropping, by adding this code to the "Custom CSS" setting of this section:

[class*=multicolumns] video {
  object-fit: contain;
}

Do not edit theme code -- this will make future theme updates complex.

 

 

But this will not look great:

Screenshot 2025-04-30 at 1.14.11 PM.png

In my opinion they look pretty good the way they are now...

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com