Hi there, i need help to remove the white gap between the product collection and the image banner. I have set the product collection and the image banner to 0 padding however, there is a slight gap?
*NOTE - Some collections are product grid and some are featured products.
1 Like
Add this code in your base.css file:
ul#Slider-template--16107583537391__featured_collection_EG6U6r {
margin-top: 0px !important;
}
Result:
Hi @crepscity
Which collection is this? Thanks!
This code only worked for one section in this collection: https://crepscity.com/collections/louis-vuitton-jackets-1
but there are other featured collections within that collection and did not trigger them.
Thanks for the info, check this one.
- From you Admin page, go to Online Store > Themes
- Select the theme you want to edit
- Under the Asset folder, open the main.css(base.css, style.css or theme.css)
- Then place the code below at the very bottom of the file.
.grid.product-grid.contains-card.grid--4-col-desktop.grid--2-col-tablet-down {
margin-top: 0px;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
2 Likes
I inserted it to each featured collection into the css therefore, it worked thank you.