Re: How to remove the white gap between the product collection and the image banner?

Solved

How to remove the white gap between the product collection and the image banner?

crepscity
Explorer
71 0 21

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. 

 

Screenshot 2024-07-19 at 16.38.31.png 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8302 1992 2450

This is an accepted solution.

Thanks for the info, check this one.

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. 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;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1721405654877.png

    i cant find the other same collection like this. If its not working to other let me know. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 6 (6)

Spac-es
Shopify Partner
391 112 143

Add this code in your base.css file:

ul#Slider-template--16107583537391__featured_collection_EG6U6r {
  margin-top: 0px !important;
}

Result:

Spaces_0-1721404441769.png

 

Any donation is welcome! https://www.buymeacoffee.com/spacescoffee Thanks in advance!
crepscity
Explorer
71 0 21

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.

Made4uo-Ribe
Shopify Partner
8302 1992 2450

Hi @crepscity 

Which collection is this? Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
crepscity
Explorer
71 0 21
Made4uo-Ribe
Shopify Partner
8302 1992 2450

This is an accepted solution.

Thanks for the info, check this one.

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. 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;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1721405654877.png

    i cant find the other same collection like this. If its not working to other let me know. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
crepscity
Explorer
71 0 21

I inserted it to each featured collection into the css therefore, it worked thank you.