Hello, I recently managed to increase the size of my product page’s buy button, but now the text on it is pretty small.
Does anybody know a code to increase just the text?
Thank you!
Hello, I recently managed to increase the size of my product page’s buy button, but now the text on it is pretty small.
Does anybody know a code to increase just the text?
Thank you!
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
@Masaru Please share your store URL and password(If it is password protected.). So that I can check and give you the exact solution.
Hi @Masaru ,
Please share your store URL and if your store is password protected then please provide password too.
So that we can help you.
Thank you.
The text I want to increase the size is カートに追加
The text I want to increase the size is カートに追加
Any solution?
Any solution?
It should be ok now!
Hi @Masaru ,
You can follow the instruction below:
.product-form__cart-submit {
font-size: 20px !important;
}
NOTE: You can change value 20px to match your theme.
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
great thanks can you please try this code
button.btn.product-form__cart-submit {
font-size: 24px; /* change value as you like */
}
Hey! I actually added
.product-form__cart-submit { font-size: 16px !important; }to my theme.liquid file and it worked!
Could you tell me the difference between .liquid and .css?
How do I know if I have to add a code in the .liquid or .css?
thanks for update
Hi @Masaru ,
Usually on 1 site. You add code in liquid, it will take precedence when you add the css. But in case you add more levels of css, then the css file will be given priority, For example, you can add the below css on the theme.css file, it will be given priority.
.product-form__item .product-form__cart-submit {
font-size: 20px !important;
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.