Hello,
I am using the Shopify Dawn theme 10.0.0 version. I have a code added to my base.css file to make my “ADD TO CART” button bigger and green as shown in attached screenshot (code below).Now I would like to have this same font size and color added to my “Proceed to Checkout” button that pops up whenever the “ADD TO CART” button is clicked as shown in attached screenshot. So How do I change this? Also How do I make the same font and color change to my “Continue to Shopping” button as shown in attached screenshot? I would greatly appreciate your responses, thanks!
product-form [type=“submit”] {
color: #FFFFFF !important;
background-color: #58b42d !important; font-size:21px;
font-weight: bolder !important;
}
1 Like
Hi @Ecomseller2025
Follow these Steps:
- Go to Online Store
- Edit Code
- Find base.css file
- Add the following code at the end of base.css
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Thank you for your response. I tried the steps but it didn’t work, the color of the “PROCEDD TO CHECKOUT” button still shows up as below. Please advise.
Can you provide link to the store?
sorry I can’t, due to personal reasons.
@Ecomseller2025 you can send it to me via personal mesage.
For anyone facing this issue, I was able to resolve it myself using ChatGPT. The solution is as below from ChatGPT, it worked!
- From your Shopify admin, go to Online Store > Themes.
- Find the theme you want to edit and click Actions > Edit code.
- In the left sidebar, under the “Assets” folder, look for the base.css file.
- Click on the base.css file to open it for editing.
- Scroll to the bottom of the file and add this code: .cart-drawer .cart__checkout-button {
background-color: #58b42d; /* Change button background color /
color: #ffffff; / Change button text color /
font-size: 21px; / Change button font size /
font-weight: bold; / Make button text bold */
}