How can I adjust only the 'buy it now' button font size?

Hey, I changed the font size of the body and the ‘buy it now’ button size changed as well. How can I modify the font size of this button only?

URL: https://www.bafaluc.com

Password: sawbaw

Try this on the theme.css

.shopify-payment-button__button–unbranded {

font-size: 20px;

text-transform: uppercase;

padding: 0;

}

Hi @Pam9 ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css->paste below code at the bottom of the file:
.shopify-payment-button__button--unbranded {
    font-size: 15px !important;
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

1 Like

It works. Thank you!