Thank you, unfortunately this hasn’t worked. I am using two hero sections, one for mobile and one for desktop. i need them to show on different screen sizes.
Yes, it’s absolutely possible to show a different Hero banner video for mobile and desktop on the Shopify Savor theme, but there are a few important things to keep in mind:
Why Your Current Code Isn’t Working:- The hero-component is likely a custom element (not a valid CSS selector unless properly defined).
Also, Shopify themes often use dynamic components and lazy loading, so hiding elements with CSS alone might not always behave as expected.
Recommended Approach:1. Use two separate hero sections in the theme code:
One for desktop (video optimized for larger screens)
One for mobile (lighter video or image to improve speed)
Wrap each section with media query logic in Liquid or use class=“hidden” utility classes combined with media-specific CSS.