How to make my banner video portrait size on mobile and tablet version only?

78 0 14

Hi my video is in landscape size right now. I would like it vertical on my mobile and tablet version. Please help

PW: CollectionThree

Reply 1 (1)

Shopify Partner
511 86 78



Actually, the best option is to upload different videos for desktop and mobile areas. Of course, if the software you're using doesn't support it, we may need to do a custom setup!


The following code may be useful for now.





Navigate to the 'Edit Code' option in your theme settings, then search for “base.css” in the search bar and add below codes.


@media (max-width: 991.98px){
  .video-container {
    height: 100vh!important;




★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> | Software Engineer - Specializing In Advanced E-Commerce Websites