How can I make a video fullscreen on mobile using Minimog theme?

Topic summary

A user is attempting to make a video element display fullscreen on mobile devices within the Minimog Shopify theme, specifically using the “video hero” component. The video currently doesn’t fill the entire phone screen as intended.

Proposed Solution:
Another user provided CSS code to add to the theme’s stylesheet:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file in the Assets folder (typically “base.css”)
  • Add a media query targeting screens with max-width 1203px
  • Apply aspect-ratio: 19/34 !important to the .fs-video__wrapper class

Current Status:
The original poster found a file named “theme.css” and attempted the solution, but reported it didn’t work. The issue remains unresolved, with the user still seeking a working implementation for mobile fullscreen video display.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

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,

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
  4. 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…