Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Is there a way to make the text in buttons bold?
Showcase theme
Website: https://thepawcode.com/
store password: pasuth
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @Sensei_Ryan,
Sorry. Do this one instead
.shopify-payment-button button {
font-weight: bold !important;
}
Hi @Sensei_Ryan,
1. In your Admin store, click Online store > Themes
2. Go to the theme you want to edit, click Actions > Edit code
3. In your Asset folder, open the style.css and add the code below
.button {
font-weight: bold !important;
}
Thanks! This worked for the most part but the "Buy it now" buttons did not get bolded. All the other buttons did though. Is there a fix for this?
Hi @Sensei_Ryan,
Please add the code below to the common CSS file..
.shopify-payment-button {
font-weight: bold !important
}
This doesn't seem to work. when you say "common css" file do you mean the style.css file?
Yes. where ever you put the previous code that works
This is an accepted solution.
Hi @Sensei_Ryan,
Sorry. Do this one instead
.shopify-payment-button button {
font-weight: bold !important;
}
This worked, you are a genius!
Thanks!
Hello Made4Uo,
Could you please help me? I've tried all the above but nothing seems to work?
I want the text in the buy button bold.
Hope to hear from you
Gr,
Chris