How can I add round corners on any block of my choice?

Hi,

I need help turning any block of my choice on my Shopify store round.
(for example the buy button)

Can anyone help?
grandeliteco.com

1 Like

Hi @bubbleguppie ,

I check your store but there is no buy button there what I that can be rounded is the product container image. If you mean that you like to round this that one, here the code:

  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:
  4. And Save.
.card__inner.color-background-2.gradient.ratio {
    border-radius: 50%;
}

Result:

I hope it help.

Thank you sm for replying!

It helped a lot.