Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
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:
In my opinion they look pretty good the way they are now...
What's your store url ?
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;
}
}
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:
In my opinion they look pretty good the way they are now...
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025