Shopify themes, liquid, logos, and UX
Hello everyone,
I am currently using the "Refresh Theme" and on my main page I have an "image banner" displayed where I have added a 1200x1000 banner which works perfectly for the mobile version. For desktop it is unfortunately anything but suitable.
Now the question: Could someone help me, which code I have to insert where, so that the size adjusts automatically for the desktop version?
Thanks in advance
Fabian
(ps: my store: rabattdealer.com)
Solved! Go to the solution
This is an accepted solution.
Replace image-banner code with this file, it will add an option to upload mobile image which will replace first image on mobile.
https://codefile.io/f/RZF5pdxXUxDPE3Gv0Zsp
If you have any other theme edit task, feel free to reach out to us. We provide unlimited theme edits at $49/month.
It would require liquid code level changes. You'll need to add a setting for the image on the mobile version and based on desktop or mobile show that image on liquid. If you can share the liquid code of the image banner section I can have a look. (Action > Theme Edit > Sections > Search for 'banner')
This is an accepted solution.
Replace image-banner code with this file, it will add an option to upload mobile image which will replace first image on mobile.
https://codefile.io/f/RZF5pdxXUxDPE3Gv0Zsp
If you have any other theme edit task, feel free to reach out to us. We provide unlimited theme edits at $49/month.
Hi there, is there a way to have this option on the Slideshow section instead of the image banner section? cause I have a few banners to display and image banner section doesn't cut it.
Where do you find the image-banner code?
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025