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
Hello, Looking to reduce the size of the video section in dawn on desktop. Scale is perfect on mobile but too big on desktop. See screenshot here. Plus see a video section screenshot on 'label source' of how it should look. Thanks
@DASCPA
Hi , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Thank you, the store is not currently live but see here URL: https://www.luxeraffles.co.uk/?_ab=0&_fd=0&_sc=1
password is: devtest25
Note: your code is too messy, I tried my best to reslove this problem.. If it will not work dm me for further detalis
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
@media (min-width: 1024px) {
#Deferred-Poster-Modal-40367269478711 {
width: 800px !important;
height: 450px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
margin: 0 auto !important;
overflow: hidden !important;
}
#Deferred-Poster-Modal-40367269478711 img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
display: block !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
sorry this does not work