How can I fix a button border on the Dawn theme?

hi, how can i fix it?

the dynamic button “BUY NOW” border is 24px,

cannot find it at the code.

anyone can help me to figure it out please?

1 Like

Hi @YMKjewelry ,

Can I take a look? would you mind to share your URL website? Thanks!

https://brebojewelry.myshopify.com/

1 Like

Hi @YMKjewelry ,

Thank you for the information. Try this.

  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.
button.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw:after {
    display: none;
}

Result:

i hope it help.

Worked!

thanks!

any idea how it happens?

1 Like

Welcome! There is an extra psuedo class ::after insert some content with a border. I dont understand why insert some extra border on that when it can make on the button. :sweat_smile: