Adjust video banner height for mobile version

Solved

Adjust video banner height for mobile version

ritualstash
Tourist
10 0 5

Hi,

I need help adjust the height of my video banner for mobile version only please. It looks fine on desktop. I see that rest of the homepage is eating into the footer menu and looks very messy. Thanks in advance. ritualstash.com footer issue.png

Accepted Solution (1)

DaveedValencia
Shopify Partner
26 5 5

This is an accepted solution.

Add the below code to fix this.

@media only screen and (max-width: 600px) {
#shopify-section-sections--21993620766994__footer{
margin-top:500px!important;
}
}

The issue is being caused by conflicting CSS, adding this will override the other conflicts. 

View solution in original post

Replies 4 (4)

Mehran_Ali
Shopify Partner
89 11 11

Hi @ritualstash 

 

Hope You're Doing Well

 

The banner and the many issues will be resolved by adding this CSS to your base.css file 

Open the theme -> three dots -> code Editor -> search for base.css -> add this CSS at the end 

@media(max-width:991px){
     .menu-drawer-container[open] .menu-drawer {
         visibility: visible;
         transform: unset;
         height: 85vh;
         transition: ease 500ms;
    }   
}

@media(max-width:767px){
    .videoBackground .videoBox {
        max-height: 300px;
        min-height: 300px;
    }
    
    .header-wrapper {
        height: auto !important;
    }
}

 

Note: If you need any more assistance feel free to contact me 

If this solution helps you, kindly like this reply and mark it as a solution.

If you need an expert Shopify developer for customization and development, feel free to contact me via email or WhatsApp.

Email: [email protected]


WhatsApp: +92 343 0211536

ritualstash
Tourist
10 0 5

Hi, 

Thank you for your response. But that did not work. The footer is still mixed up with last multi column.

DaveedValencia
Shopify Partner
26 5 5

This is an accepted solution.

Add the below code to fix this.

@media only screen and (max-width: 600px) {
#shopify-section-sections--21993620766994__footer{
margin-top:500px!important;
}
}

The issue is being caused by conflicting CSS, adding this will override the other conflicts. 

ritualstash
Tourist
10 0 5

Thank you. That worked well!