Hello, i would like to solve the video background size on mobile for DAWN 11.0.0 Theme, i tried most of codes that shopify community solvers provided and nothing worked, the following code as an example,
@media screen and (max-width: 749px) {
.banner .banner__content:before {
padding-bottom: 100%!important;
}
}
Webpage : https://springandrepublic.com/
1 Like
@Horus-Wings , what do you want to do with the video background?
1 Like
i already have video background on my webpage, its size fits desktop browsing size, but its not matching mobile screen size, when you browse webpage using mobile screen you have to rotate screen horizontally to see video fitting screen.
1 Like
@Horus-Wings , go to base.css and add the following code :
@media (max-width:767px){
.videoBackground .fullscreen-video-wrap {
position: relative;
min-height: 600px !important;
}
}
1 Like
Working but made video extra thin than before, not fitting good
@Horus-Wings , what do you mean by extra thin?
Hi,
Use the following code, it will make it resize to fit the mobile screen:
@media only screen and (max-width: 768px)
.videoBackground .fullscreen-video-wrap {min-height: 550px;}
let me know if you acheived what you need by marking this is a solution.