Shopify themes, liquid, logos, and UX
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?
Password: sawbaw
Solved! Go to the solution
This is an accepted solution.
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.
Try this on the theme.css
.shopify-payment-button__button--unbranded {
font-size: 20px;
text-transform: uppercase;
padding: 0;
}
This is an accepted solution.
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.
It works. Thank you!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025