Hello,
i finished setting up my website (with Atelier theme).
I dont know why my mobile version header/hero image is blurred.
Tried many ways even the shopify advisors cannot help.
Anyone have solutions? Thanks
Thanks!
A Shopify store owner using the Atelier theme reports that their header/hero image appears blurred on mobile devices, despite working correctly on desktop.
Attempted Solutions:
</body> tag (unsuccessful)'300, 450, 600, 750...' to '900, 1050, 1200...' to prevent downsizing on mobile (unsuccessful)Key Points:
Current Status: The problem remains unresolved after multiple troubleshooting attempts. The user continues seeking help with code-based solutions.
Hello,
i finished setting up my website (with Atelier theme).
I dont know why my mobile version header/hero image is blurred.
Tried many ways even the shopify advisors cannot help.
Anyone have solutions? Thanks
Thanks!
hey @Bellayu dear follow these steps
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->before the ----->
before the body ----->
if this code work please do not forget to like and mark it solution
Still not working ![]()
Can you share your page url?
So I can debug the issue.
how to share it? sorry i dont understand hahaha
Hi, I checked your site the problem is shopify by default compresses images to improve loading times but this can sometimes lead to a loss of quality and blurriness. You can upload high resolution hero image for mobile devices as most of the themes have the built in option to add seperate images for desktop and mobile.
i asked their advisors, they said that all is responsive. SO we cannot have separate image for desktop and mobile
You can edit the hero image’s liquid code to prevent the image from being responsive to small image sizes on mobile to solve it.
How to change it? do you have the code that i can paste?
You can go to your store admin > Sales channels > Online Store > Themes > click “…” in Current theme > Edit code > open hero.liquid, replace this line of code in line 12
assign widths = '300, 450, 600, 750, 900, 1050, 1200, 1350, 1500, 1650, 1800, 1950, 2000, 2500, 3000, 3500, 4000, 5000'
With this code
assign widths = '900, 1050, 1200, 1350, 1500, 1650, 1800, 1950, 2000, 2500, 3000, 3500, 4000, 5000'
Still not working hahaa
still not working. Can you please help?