Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, i'm using the video banner in Dawn theme, and I have loaded in my .mp4 it looks great on desktop. I added some mobile code to display the screen in a 2:3 ratio, I have a separate mobile video file that I would like to load in. Can someone weigh in on how to code that? I was able to find someone adding in a desktop and mobile "image banner". Looking for any suggestions as I'm new to using shopify.
I'm actually realizing that loading the 2:3 video in works with the code i have added. https://ilwil-period.com/ and then the mobile will be the 2:3 ratio // i have added code within my editor, generic dawn theme wont display this initially
You can add this code to theme.liquid file after <head> to check if it works for you.
<style>
.videoBackground .fullscreen-video-wrap {
height: calc(100vh - 46px) !important;
}
</style>
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Worked for me, you're amazing
Very welcome!
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.