Shopify themes, liquid, logos, and UX
Hi, can anyone help me remove the white space above my banner video?
https://brodeon.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Hey @Daniel19901
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
main#main {
margin-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @Daniel19901
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
main#main {
margin-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Daniel19901
Do you like to remove on the homepage only right? if it is check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'index' %}
<style>
main#main {
margin-top: 0;
}
</style>
{% endif %}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Yes, I know that. But seems like you didnt try to paste my code. I only precise to call the homepage(index) so it wont affect other page.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025