Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello!
I am attempting to reduce the size of the video section on my website: micrologicals.com
I am using this bit of code:
@media screen and (min-width: 770px) {
.video-section__media.deferred-media.no-js-hidden.gradient.global-media-settings {
max-width: 500px !important;
text-align: center !important;
padding-bottom: 70% !important;
left: 25%;
}
}
However, for some reason, when I press play on the video, the section pops out. I am hoping to find a way to keep the video section from doing that. Thank you!
Hi @Micrologicals, Try adding this code along with your code:
deferred-media.video-section__media.deferred-media.no-js-hidden.gradient.global-media-settings[loaded="true"] {
left: 0 !important;
}
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
- Here is the solution for you
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.js-vimeo {
left: 0px !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025