hello all, I would like to make the video fullscreen. But it just does not work. I have a ernig researched with which css code I can do that but none has worked I hope someone can help me. I use the theme Minimog and the element “video hero” nown the video should only fill the entire screen on the hphone.
the site: www.racetrackgallery.com
1 Like
Hi @thierrymatare ,
Try this,
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
@media only screen and (max-width: 1023px){
.sf-video__wrapper.sf-video__wrapper--9a3e8bcd-5794-42eb-8e4e-2a5865b48e29 {
--aspect-ratio: 19/34 !important;
}
}
Result:
I hope it help.
1 Like
Hi, thank you for your fast reply. I found a file with the name “theme.css” I think its that, but it dosent worked…