Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I change the color of the 'add to cart' button?

How can I change the color of the 'add to cart' button?

mattpermute
Explorer
68 0 27

I am looking to change the color of the add to cart button on a clients website, but there are no options in settings to change that button. see attached image for reference, the button i want to change the color of is outlined in pink.

 

Here is the link to the product: https://sweetskendamas.com/collections/all/products/triple-stripe-black-legend-shape

 

Can anyone take a look at the css and show me where to make this change? i want the button to be pink.

 

Thanks

MM

 

Screen Shot 2024-01-11 at 6.18.58 PM.png

Replies 7 (7)

Abdosamer
Shopify Partner
936 173 193

Hi @mattpermute , go to theme.css and add the following code :

button.btn.btn--full.add-to-cart.btn--secondary {
    background-color: #FFC0CB !important;
}
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
B_Different_Clo
New Member
31 0 0

Screenshot 2024-09-14 173712.png

Hello, 

 

where at the bottom exactly? I tried in two different spots and nothing changed for me, I am using the dawn theme version 14.0

 

Thanks!

Abdosamer
Shopify Partner
936 173 193

@B_Different_Clo , Add this code here :

Abdosamer_0-1726377200568.png

<style>
button.btn.btn--full.add-to-cart.btn--secondary {
    background-color: #FFC0CB !important;
}
</style>
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work

PageFly-Henry
Shopify Partner
1184 335 292

Hi @Abdosamer 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.css

Step 3: Paste the below code at bottom of the file -> Save

 

button.btn.btn--full.add-to-cart.btn--secondary {

    background: red !important;

}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

jbrielle
Tourist
7 0 1

Hello!

 

Will this work for the Origin theme as well? Or would it be somewhere else

ZenoPageBuilder
Shopify Partner
1052 203 227

Hello @mattpermute 👋

In Shopify Admin, you can go to Edit theme code, open file theme.css and add this code at the bottom

button.add-to-cart {
    background-color: #ff00c9 !important;
}

The result

Screenshot 2024-01-12 at 09.07.43.png

Hope that helps!

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
B_Different_Clo
New Member
31 0 0

Screenshot 2024-09-14 173712.png

Hello, 

 

where at the bottom exactly? I tried in two different spots and nothing changed for me, I am using the dawn theme version 14.0

 

Thanks!