Shopify themes, liquid, logos, and UX
I've added a video background to my Shopify store, first I added it to the header but then the video background was all over the website and I only wanted it on the home page. So I added it to the section "template" instead of "header" and now there's a white border above the video on the mobile version. (See video) please someone help me out 🙂 Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @Joppe1612,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Video Background White Border In Mobile, let’s try this solution:
Online Store ->Theme ->Edit code
Assets ->Base.css
@media screen and (max-width: 767px)
{
.videoBackground .videoBox {
min-height: unset !important;
}
}
.videoBackground .videoBox {
display: flex;
flex-direction: column;
}
I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @Joppe1612,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Video Background White Border In Mobile, let’s try this solution:
Online Store ->Theme ->Edit code
Assets ->Base.css
@media screen and (max-width: 767px)
{
.videoBackground .videoBox {
min-height: unset !important;
}
}
.videoBackground .videoBox {
display: flex;
flex-direction: column;
}
I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @Joppe1612
Follow these Steps:
Go to Online Store Edit Code Find theme.liquid file or base.css
Add the following code in the bottom of the file above </body> tag
@media screen and (max-width: 767px)
{
.videoBackground .videoBox {
min-height: unset !important;
}
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solutions.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024