Shopify themes, liquid, logos, and UX
Hi 🙂
My website is : https://www.brasebreizh.fr
I would like to know how to reduce the size of my image below the video
could you help me ? thanks a lot
Hello @Edgard22,
Go to online store ---------> themes --------------> actions ------> edit code-------> go to base.CSS file ----->
and add this code at the very bottom of the file.
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
display: block;
max-width: 100%;
position: absolute;
top: 35px;
height: 78%;
width: 73%;
margin: 0 auto !important;
left: 0;
right: 0;
}
and the result will be
Please let me know,
Thanks
can you please replace it with this CSS
.banner .media>*:not(.zoom):not(.deferred-media__poster-button) {
display: block;
max-width: 100%;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
Hello @Edgard22
can you try this css
.banner .media>*:not(.zoom):not(.deferred-media__poster-button) {
display: block;
max-width: 100%;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
Please add the following code at the bottom of your css file.
.media>img{
object-fit: none !important;
}
- Here is the solution for you
- Please follow these steps:
- Then find the base.css file.
- Then add the following code:
.banner__media img {
object-fit: contain;
padding-left: 14%;
padding-right: 14%;
}
- Then press 'Save' to save the code.
- Here is the result you will achieve:
- You can also increase it by 14% for a larger gap, or decrease it by 14% for a smaller one."
- Good luck. If you find it helpful, please press like and mark it as the solution.
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
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