A Shopify user is experiencing an issue where custom CSS code intended to hide a specific video on mobile devices is instead hiding all videos across their website.
The Problem:
User added CSS with a media query targeting mobile screens (max-width: 768px) that sets display: none on video elements
While the code successfully hides videos on mobile, it affects all videos site-wide rather than just the targeted one
Current Status:
GemPages support confirmed the code is causing the issue and provided a code snippet as a potential fix (details obscured in the conversation)
The user clarified their intent: they want only one specific video hidden on mobile, not all videos
The discussion remains open as the user seeks a solution to target only the desired video while preserving others
Summarized with AI on November 25.
AI used: claude-sonnet-4-5-20250929.
Hi I’m sorry if I was unclear but I want the video to be gone on mobile but all my videos on the website disappear when I use this code and not just the one I want?