How can I bring the videobanner up on mobile device?

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

1 Like

Hi @Muselabel , Follow these Steps:

  1. Go to Online Store > Themes > edit code

  1. Find theme.liquid file

  2. Add the following code above close tag:

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

=> Result:

it doesn’t work for me

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

Hi @Muselabel

Do you mean like this?

If it is check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. 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!

You can try add the following code above close 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:

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;
}
}

thank you so much it works:)