Thank you so Mutch, these codes do work properly ! Verry mucht appriciate your time effort and help !
Topic summary
A user encountered issues with a banner displaying incorrectly on their Shopify store (lucky4voeter.nl), appearing blurry with wrong size and aspect ratio despite trying different banner sizes and coding adjustments.
Solution provided:
- Add CSS code to one of the theme’s stylesheet files (base.css, theme.css, style.css, main.css, or custom.css)
- Initial code fixed desktop display using
img.carousel-item-img.d-none.d-lg-blockselector withwidth: 100%,height: auto, andobject-fit: coverproperties
Mobile fix:
- Additional CSS targeting
img.carousel-item-img.d-lg-nonewas needed to resolve mobile display issues - Combined code snippet addresses both desktop and mobile versions
Status: Issue resolved. The user confirmed both code solutions work properly across devices.