That’s because you’ve stretched your image with CSS, but the image sizes parameter was not changed and browser loads image for half of the screen.
When browser loads the responsive image, it decides what size image file to load based on the sizes parameter which in your case is:
sizes="(min-width: 750px) 50vw, 100vw"
Which means – image will cover entire browser width on small screens (50vw), but if the browser is wider than 750px, image will cover only half of the browser width (50vw).
This is why your image is loaded with approximately half of the required resolution.
I understand that you want to show one image on desktop and another on mobile.
For this my suggestion would be to create 2 sections instead, each with single image – one section for desktop and another for mobile.
And you would not need other Custom CSS rules you’ve already have, because you would be able to separately control section height for desktop and mobile natively.
Hey there Jorge @jorgeisaacart You should try uploading images with a resolution of 72 pixels per inch and with dimensions that match the size you want them to display on your store. You can also use image editing tools like Adobe Photoshop to adjust the image quality before uploading it.
Let me know the results you get when you try this out.
it works in fixing the quality, you were right the previous code I had was messing the resolution. But look now it leaves a big gap space on desktop, and some space at the bottom on mobile. please check