How to change Add To Cart Button Color in Dawn ver. 15.0.2

How to change Add To Cart Button Color in Dawn ver. 15.0.2

funiki_nl
Tourist
4 0 2

Hi, I am working on my shop. I know how most of the things work but I stumbled upon a specific problem. How can I change the add to cart button in the new Dawn version 15.0.2? I think I have to change the code, but I don't know how I can find it. I tried looking through the assets in search of add-to-cart or something similar in the code but to be honest I have no idea what I'm doing. Can someone help me? I want to change the button color to #F3E2FF and I want to change the color of the text to white or #F3E2FF.

Replies 7 (7)

Moeed
Shopify Partner
4986 1325 1608

Hey @funiki_nl 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

dws_pvt_ltd
Shopify Partner
287 55 80

Hello @funiki_nl, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file. 

 

 

 

 

button.product-form__submit.button.button--full-width {
    background: #F3E2FF;
}

 

 

 

 

See the screenshot below,

dws_pvt_ltd_0-1723815209760.png

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

niraj_patel
Shopify Partner
2378 514 511

Hello @funiki_nl 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .product-form__buttons .button:before, .button: after{
      box-shadow: unset;
  }
  .product-form__buttons .product-form__submit {
      color: #fff !important;
       background: #F3E2FF !important;
  }
</style>

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSS-TekLabs
Shopify Partner
2093 618 721

Hello @funiki_nl 
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

namphan
Shopify Partner
1118 139 171

Hi @funiki_nl,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

.product-form__submit.button {
    background-color: #F3E2FF !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com
funiki_nl
Tourist
4 0 2

Thank you, this worked 🙂

Could you help me with another thing?

How can I change the color of the font to #685A81 because now you don't see a text but only a lila color button 🙂

namphan
Shopify Partner
1118 139 171

Hi @funiki_nl,

Please change code:

.product-form__submit.button {
  background-color: #F3E2FF !important;
  color: #685A81 !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com