Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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!