jk888
March 2, 2023, 5:00am
1
Hello,
I increased the font size of ‘Buy Now’ button. But I’m trying to also increase the font size of ‘Add to Cart’ button to match the ‘Buy Now’. But I’m having trouble. How can I do that?
‘Add to cart’ buttons are on Product Pages and.. also on my homepage, Featured Collection cards .
Product page:
Homepage- Featured Collection cards:
@jk888
To increase font size of add to cart follow below steps :
In your Shopify Admin go to online store > themes > actions > edit code
Find Asset > base.css and paste this at the bottom of the file:
product-form .quick-add__submit,
.product-form .product-form__buttons .product-form__submit{
font-size: 1.8rem !important;
}
This works well.
2 Likes
Hi [email removed]Jk888 **,**
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
product-form .quick-add__submit span,
.product-form .product-form__buttons .product-form__submit span{
font-size: 1.8rem !important;
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
2 Likes