A user implemented a video banner on their Shopify store but encountered display issues across devices:
Problems identified:
Desktop: Video gets cut off/cropped
Mobile: Text and buttons from desktop version not displaying; visible text has formatting issues
Additional issue: Unable to remove search icon despite trying various code solutions
Solutions provided:
One contributor suggested adding custom CSS code to theme.liquid above the </body> tag to fix text display issues. They also recommended using separate videos for desktop (portrait orientation) and mobile (current square video) for better user experience.
Another contributor provided CSS code to adjust font sizes:
Desktop text increased to 24px
Addresses the issue of desktop text being too small and mobile text too large
The code should be added via: Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS
Current status: The user reports partial success but still needs help with text sizing across devices. The consensus is that using device-specific videos would provide the optimal solution.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
I’ve implemented a video banner onto my site using the code from the paste bin “video banner para Shopify” page
Then I tried this code to attempt at correcting the text and buttons not showing on mobile from paste bin “fix banner text page” (forum will not let me attach their links)
The video size gets cut off on desktop, but appears to be fine on mobile. However, on mobile- not all the text that I have on desktop is showing, and the part that is showing is off formatting wise. I would appreciate if someone could help correct the desktop size so that the video is not cut off (see attached photos) and if the desktop text and buttons could reflect on mobile as well. I also keep trying to remove the search icon and no code solution has worked.
Now, You are using the square size video for desktop so i suggest you need to add both device videos separate One for the Desktop(Portrait size) and the current video you can use for mobile for the better user interface.