How can I bring the videobanner up on mobile device?

Solved

How can I bring the videobanner up on mobile device?

Muselabel
Excursionist
44 0 7

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 Partner
225 49 51

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 Partner
225 49 51

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
Excursionist
44 0 7

it doesn't work for me 

Muselabel
Excursionist
44 0 7

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 Partner
225 49 51

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
Excursionist
44 0 7

thank you so much it works:)

Made4uo-Ribe
Shopify Partner
10100 2398 3034

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

Dan-From-Ryviu
Shopify Partner
11545 2259 2444

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 & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.