How to lower the padding top and bottom of the product card in featured collection

Hi

I wanted to know how to lower the top and the bottom padding of product card in featured collection.

Below is schematic photo of what i would like it to look like.

2 Likes

Hello @UL1 ,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

Hi @UL1

Would you mind to share your Store URL website? with password if its protected. Thanks!

https://60338a.myshopify.com/

1 Like

Thank you for the information.

Try 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.card__information {
    padding-bottom: 0px;
    padding-top: 0px;
}​
  • Save.
  • I hope it help.
  • Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

I put the code at the bottom of the base.css but it doesn’t work. :confused:

1 Like

Can you paste it on the component-card.css file. Thanks!

It still doesn’t work. :confused:

1 Like

Can you try this code.

.collection.section-template--19383194288464__featured_collection-padding .card__information {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

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

1 Like

It works

Thank you

1 Like

im having the same issue but this code does not work for me.

Hi @robsta

Would you mind to share your store URL? Thanks!

mine is f-off.com.au

i sorted the text issue now just need to move the card picture up higher so white gap id decreased on top.