How to reduce gap between product pictures and title?

Solved

How to reduce gap between product pictures and title?

KimGottwald
Trailblazer
235 0 34

I would like to reduce the gaps that are in the red rectangles, is this possible?


Thank you!

 

URL: https://suq5b8csct01fyzg-61270851797.shopifypreview.com/collections/rappid-test

 

Im using the Trade theme.

 

Bildschirmfoto 2024-07-13 um 12.35.31 AM.png

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @KimGottwald

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.card-wrapper .card__information {
    padding: 0 !important;
}

ul#product-grid {
    row-gap: 0 !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1720832542718.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

WalkYourStyle
Navigator
475 58 79

1. Go to 'Online Store' -> Themes -> Edit Code

2. Inside the assets folder locate the 'component-card.css' file

3. At the end of the file add this code

.card__information{
  padding-top: 0;
  padding-bottom: 0;
}

BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @KimGottwald

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.card-wrapper .card__information {
    padding: 0 !important;
}

ul#product-grid {
    row-gap: 0 !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1720832542718.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2401 695 832

- Here is the solution for you @KimGottwald 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.card--card.card--media>.card__content, .card__information {
     padding-bottom: 0px !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1720843357745.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

niraj_patel
Shopify Partner
2391 516 515

Hello @KimGottwald 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
  .card__information {
     padding: 0 1rem !important;
  }
  .card__content {
      padding-top: 7px !important;
      padding-bottom: 0!important ;
  }
}
</style>

techlyser_web_0-1720800531557.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com