product card border

hi there on collection pages i have product cards and i want its border to wrap text as well as product image can anyone help me sharing url and i am using Dawn theme https://sundip1.myshopify.com/collections/ketchup-and-sauces

1 Like

Hi

Could you share an example image that you would like?

Hi @Nabeelshakil

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
.collection .card--card, .card--standard .card__inner {
    border: none !important;
}

.collection .card.card--standard.card--media {
    border: var(--border-width) solid rgba(var(--color-foreground), var(--border-opacity));
}

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

1 Like

thanks for the help dear