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
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024