All things Shopify and commerce
I'm working with the Symmetry theme and need help setting up a different main banner for tablet on my homepage. We already have separate images for mobile and web, and they display correctly. However, on tablet, the banner image overlaps with the text, so we want to upload a completely separate banner specifically for tablet devices. Can anyone assist with this?
Hello @avaskye
Go to Online Store > Themes > Actions > Edit Code.
Open the sections/hero.liquid (or whichever section controls the homepage banner).
Add a new image field for the tablet banner in the section schema (if it doesn’t exist).
Example of a schema addition to allow tablet-specific image upload:
Then, in the Liquid code, modify the section to display the appropriate image based on the device type:
Now, use CSS to display the correct image based on the screen size:
Open your theme CSS file (base.css, theme.css, or similar).
Add the following CSS code to control which image is displayed:
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