Shopify themes, liquid, logos, and UX
Dear people,
i tried everything includung different sizes banners, coding but somehow i can not seem te get my new made baner to show right on my website keeping the same aspect ratio. Whatever i do it keeps showing it blurry or wrong size and apect ratio my website is https://lucky4voeter.nl paswrd: Temp12 can someone help me to fix this please.
Thank you so Mutch!
Solved! Go to the solution
This is an accepted solution.
Thank you so Mutch, these codes do work properly ! Verry mucht appriciate your time effort and help !
Hi @Antonynex,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
img.carousel-item-img.d-none.d-lg-block {
width: 100% !important;
height: auto !important;
object-fit: cover !important;
}
Do ii need to add the code on every one of those files or in just one of them ?
One of them @Antonynex
Thank you so mutch it seems to work on the desktop version, but not on the mobile version, do you have a solution for that to Please ?
Try this code.
img.carousel-item-img.d-lg-none {
width: 100% !important;
height: auto !important;
object-fit: cover !important;
}
img.carousel-item-img.d-none.d-lg-block {
width: 100% !important;
height: auto !important;
object-fit: cover !important;
}
This is an accepted solution.
Thank you so Mutch, these codes do work properly ! Verry mucht appriciate your time effort and help !
Please mark my solution @Antonynex
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