So please add this code the theme.liquid file after in Online Store > Themes > Edit code
A user working with Shopify’s Dawn theme needed to display different chart images for desktop and mobile views—hiding the desktop version on mobile and vice versa.
Accepted Solution:
Dan-From-Ryviu provided CSS media queries to add to each image banner section’s Custom CSS:
@media (max-width: 767px) { .banner { display: none; } }@media (min-width: 768px) { .banner { display: none; } }Additional Issues Addressed:
.slideshow or slideshow-component instead of .banner<head> tag.banner with .hero classThe discussion evolved from a simple hide/show request into troubleshooting various edge cases across different themes, devices, and section types. Multiple users confirmed the solution worked for their needs.
So please add this code the theme.liquid file after in Online Store > Themes > Edit code