Shopify themes, liquid, logos, and UX
Hello,
I've managed to get two separate images for the main banner on desktop and mobile, however, the desktop banner appears slightly blurry. If someone could help me fix this that would be much appreciated!
Solved! Go to the solution
This is an accepted solution.
Hi @corpwpn
You can go to your Online store > Themes > Edit code, open image-banner.liquid file, find this line of code
assign widths = '375, 550, 750, 1100, 1500, 1780, 2000, 3000, 3840'
And check to this
assign widths = '375, 550, 750, 3000, 3000, 3000, 2000, 3000, 3840'
Save your file, reload your page and check again.
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @corpwpn
You can go to your Online store > Themes > Edit code, open image-banner.liquid file, find this line of code
assign widths = '375, 550, 750, 1100, 1500, 1780, 2000, 3000, 3840'
And check to this
assign widths = '375, 550, 750, 3000, 3000, 3000, 2000, 3000, 3840'
Save your file, reload your page and check again.
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi Dan,
Thanks so much for responding. I've tried the above code but it does not appear to fix the problem. If you have any other suggestions that would be greatly appreciated. Thanks!
Make sure you check your own image in desktop, is it hight quality image?
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi Dan,
Apologies for wasting your time, I just realized the image was not exported in the quality I intended so your solution did indeed work. Thanks for the help!
You are very welcome, @corpwpn
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This helped out a lot, but still there is a difference between the original banner and the updated one, it has improved a lot from before but still the quality is not at it highest, and yes i am using a high quality image, and working on a copy of my theme in which i have added this feature to test out the 2 image code that works for mobile viewers, and both banners still have a minor difference in quality
Please help
Hi Charles,
The problem has been identified and fixed. Thanks anyway for your response!
Yes, it is solved. No longer needing help, but thank you for the reply.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025