All things Shopify and commerce
Hi everyone.
I can’t seem to find the answer to my problem. How do i remove the big white space under my homepage video? It also seems to conflict with my highlighted collections on the frontpage (most populair and new products) and the footer (signup e-mail and other footer texts)
Solved! Go to the solution
This is an accepted solution.
Hello,
To solve this issue please go to Online Store -> Themes -> Edit Code.
Open your theme.liquid file.
CTRL + F and search for </head>
Before the </head> line add
<style>
.videoBackground {
height: auto;
}
</style>
and save.
Let me know if that works for you. If you need help, DM me.
This is an accepted solution.
Hello @Hausi
I understand you are looking to remove unnecessary space appearing under the banner section.
Please add the below code at the bottom of the theme.liquid file before </body> tag and save.
<style>
.videoBackground {
height: fit-content !important;
}
</style>
Output -:
I hope the code helps you.
Please share if you have any queries.
Thank you.
Hi,
Try adjusting the Section Padding via Theme Editor for Video Section (Bottom padding) and Highlighted Collections Section (Top padding)
Theme Editor > (Left Column) Template - Click Section > (Right Column) Section padding - adjust Top padding, Bottom padding to 0px.
Regards
This is an accepted solution.
Hello,
To solve this issue please go to Online Store -> Themes -> Edit Code.
Open your theme.liquid file.
CTRL + F and search for </head>
Before the </head> line add
<style>
.videoBackground {
height: auto;
}
</style>
and save.
Let me know if that works for you. If you need help, DM me.
Thank you. This resolves the issue. Only one more problem occurs on mobile after the solution. When i click on categories on the left (see image) it is not showing the categories. Only when i scroll a bit to the bottom the collection button works correctly.
Thanks again for your time
This is an accepted solution.
Hello @Hausi
I understand you are looking to remove unnecessary space appearing under the banner section.
Please add the below code at the bottom of the theme.liquid file before </body> tag and save.
<style>
.videoBackground {
height: fit-content !important;
}
</style>
Output -:
I hope the code helps you.
Please share if you have any queries.
Thank you.
Thank you. This resolves the issue. Only one more problem occurs on mobile after the solution. When i click on categories on the left (see image) it is not showing the categories. Only when i scroll a bit to the bottom the collection button works correctly.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024