Hey There! I am wanting to display different Image Banners for users on Desktop vs Mobile. I am using the following code within ‘section-image-banner.css’ to do so:
.banner__media:first-child {
width: 100%;
}
.banner__media+.banner__media {
display: none;
}
@media screen and (max-width: 749px) {
.banner__media:first-child {
display: none;
}
.banner__media+.banner__media {
width: 100%;
display: block !important;
}
}
@media screen and (max-width: 749px) {
.banner__content::before{
padding-bottom: 150% !important;
}
}
This code is working great to get the different images to display but the issue is that it makes the desktop image pixelated and low quality vs what is should look like. The mobile version works great. See below:
High Quality (what it should look like):
Low Quality (what it currently looks like):
Anyone got any ideas to fix this pixilation issue that I am having on the desktop version?
Link to website: https://539htluqdx2s5kuo-81877893427.shopifypreview.com


