Shopify themes, liquid, logos, and UX
I want to make this video show up smaller on mobile it is showing up to large and most of the content is getting cropped off.
https://tasselsandconfetti.com/
PW: rtiegh
Solved! Go to the solution
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (max-width: 800px){
.hero .featured-hero.size-x-large, .featured-hero.size-x-large {height: 200px !important;}
.hero-video .wrapper.loaded .ytplayer-player-inline {width: 100% !important;height: 100% !important;left: auto !important;}
}
Thanks!
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (max-width: 800px){
.hero .featured-hero.size-x-large, .featured-hero.size-x-large {height: 200px !important;}
.hero-video .wrapper.loaded .ytplayer-player-inline {width: 100% !important;height: 100% !important;left: auto !important;}
}
Thanks!
@dmwwebartisan are you able to help me with the code for this one the icon theme? 🙂 post for reference: https://community.shopify.com/c/shopify-design/need-to-resize-background-video-for-mobile/td-p/16499...
Hi. There is no Asset theme.scss.liquid file only theme.js.liquid. Will this one work?
Also this fix broke the other sections and they now no longer display it is just white screen where they are supposed to be displayed!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024