Shopify themes, liquid, logos, and UX
I'm trying to display different images for mobile and desktop view with the dawn theme but when i preview my store it just puts the 2 images side by side. Any ideas how to fix this?
Solved! Go to the solution
This is an accepted solution.
An easy way I accomplish this is by using two ‘Image Banner’ sections—one is hidden on desktop, and the other is hidden on mobile.
Hide on mobile
@media screen and (max-width: 749px) {
{
display: none;
}
}
Hide on desktop
@media screen and (min-width: 750px) {
{
display: none;
}
}
This is an accepted solution.
An easy way I accomplish this is by using two ‘Image Banner’ sections—one is hidden on desktop, and the other is hidden on mobile.
Hide on mobile
@media screen and (max-width: 749px) {
{
display: none;
}
}
Hide on desktop
@media screen and (min-width: 750px) {
{
display: none;
}
}
Omg this has finally worked thank you so much I’ve been trying for weeks!
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