Shopify themes, liquid, logos, and UX
I would like to enlarge the container of the video so that it has the same dimensions as the product images and there is simply a white border at the top and bottom of the video. Is there a way I can customize this?
The two images show a photo with the square container and the video which has a significantly different format:
Hi @Roxolot
To adjust the video container to match the product image size, you can use custom CSS in Shopify:
.video-container {
width: 100%; /* Match product image width */
height: auto; /* Adjust height proportionally */
max-width: [product image width]; /* Replace with the actual width */
padding-top: 10px; /* Adjust for white border */
padding-bottom: 10px;
background-color: white;
}
If you have other questions, I am willing to answer them more.
Best regards,
Daisy
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025