Shopify themes, liquid, logos, and UX
I am trying to remove the white space between the bottom of the header (and the top of the footer) between the top and bottom for the featured collection area on my homepage. I removed the header margin and made it zero but I can't seem to figure out what code or what to edit to make this white bar disappear. Can someone help guide me?
Here is the link: https://0xyqxj-jv.myshopify.com/ it is running on a Shopify temporary link since I don't have a domain of my own to register yet as I am trying out Shopify.
Solved! Go to the solution
@techab - please open your page in customize settings and go to these sections, your have set padding top and bottom to them, reduce it to the number you want and check, it can look like this. If you want then you can contact me here or on my email below
The padding for the featured collection section is set to 0 already. It seems to be an issue with the headline, if it is blank, it has white space, if I type in text, it fills the section with the background color but I would like to not have a headline or title so I am trying to remove the white space and just have the background color fill the gap.
Hi @techab
Check this one.
footer.footer {
padding-top: 0;
}
.grid.product-grid.contains-card.contains-card--product.contains-card--standard {
margin-top: 0;
padding-top: 20px;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025