How can I bring the videobanner up on mobile device?

Solved

How can I bring the videobanner up on mobile device?

Muselabel
Tourist
30 0 4

Hello,

How do you delete the spacing that’s above and under the video as you can see in the image.

my website is: 

https://muselabel.nl 

IMG_2708.png

 

Accepted Solution (1)
BSSCommerce-TC
Shopify Expert
199 43 45

This is an accepted solution.

You can try add the following code above close </head> tag in file theme.liquid

 

 

{% style %}
@media screen and (max-width: 769px) { 
    .videoBackground .videoBox { 
 	    min-height: max-content !important; 
        margin-top: 8px !important; 
        z-index: 0 !important;
    } 
}
{% endstyle %}

 

 

if It still not work, you can add the code below at the bottom of the file base.css:
 

 

@media screen and (max-width: 769px) { 
    .videoBackground .videoBox { 
 	    min-height: max-content !important; 
        margin-top: 8px !important; 
        z-index: 0 !important;
    } 
}

 

Result:
BSSCommerceTC_0-1720142745738.png

 

 
 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 7 (7)

BSSCommerce-TC
Shopify Expert
199 43 45

Hi @Muselabel , Follow these Steps:

1) Go to Online Store > Themes > edit code

BSSCommerceTC_0-1720115389619.png

3) Find theme.liquid file

4) Add the following code above close </head> tag:

 

@media screen and (max-width: 769px) { 
    .videoBackground .videoBox { 
 	    min-height: max-content !important; 
        margin-top: 55px !important; 
    } 
}

 

=> Result:

BSSCommerceTC_1-1720115680524.png

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Muselabel
Tourist
30 0 4

it doesn't work for me 

Muselabel
Tourist
30 0 4

Can you also help me make the header transparent on a mobile device? On the desktop, the header is already transparent.  I have the sense theme

BSSCommerce-TC
Shopify Expert
199 43 45

This is an accepted solution.

You can try add the following code above close </head> tag in file theme.liquid

 

 

{% style %}
@media screen and (max-width: 769px) { 
    .videoBackground .videoBox { 
 	    min-height: max-content !important; 
        margin-top: 8px !important; 
        z-index: 0 !important;
    } 
}
{% endstyle %}

 

 

if It still not work, you can add the code below at the bottom of the file base.css:
 

 

@media screen and (max-width: 769px) { 
    .videoBackground .videoBox { 
 	    min-height: max-content !important; 
        margin-top: 8px !important; 
        z-index: 0 !important;
    } 
}

 

Result:
BSSCommerceTC_0-1720142745738.png

 

 
 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Muselabel
Tourist
30 0 4

thank you so much it works:)

Made4uo-Ribe
Shopify Partner
6841 1633 2013

Hi @Muselabel 

Do you mean like this? 

Made4uoRibe_0-1720121963328.png

If it is check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media screen and (max-width: 769px) {
    .videoBackground .fullscreen-video-wrap {
        z-index: 0;
        margin-top: 8px;   
    }
    .fullscreen-video-wrap {
        flex-grow: 1;
}
}

 

  • And Save. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Dan-From-Ryviu
Shopify Partner
8400 1652 1666

Hi @Muselabel 

You can solve it by adding this code to Online Store > Themes > Customize > Themes settings > Custom CSS

@media (max-width: 749px) {
.videoBackground .videoBox {
min-height: 300px !important;
margin-top: 60px !important;
}
}

Screenshot 2024-07-05 at 15.27.58.png

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.