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! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024