changing the color of the Buy It Now Button to green in Impulse theme

changing the color of the Buy It Now Button to green in Impulse theme

Byron
Tourist
5 0 5

My product page URL is curahealing.co/cura. I've tried changing the button color under colors in the theme settings. but in the mobile view that changes the background color of the top section above the header to green as well.

 

I would like a way to change the color of the buy it now button to green without messing with the color of anything else... if anybody has the answer to this it would be appreciated if you would share it with me thank you 🙂

Replies 4 (4)

BSS-TekLabs
Shopify Partner
2401 695 835
<style>
button.btn.btn--full.add-to-cart {
    background: green !important;
}
</style>

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)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 835

- Here is the solution for you
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
button.btn.btn--full.add-to-cart {
    background: green !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1726240489301.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank 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)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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

BSSCommerce-B2B
Shopify Partner
1972 564 568

@Byron ,

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
button.add-to-cart {
   background: green!important;
}
</style>

Result:

BSSCommerceB2B_0-1726240607635.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

Tech_Coding
Shopify Partner
514 132 131

Hello @Byron 

You can add code by following these steps

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-block button.btn.btn--full.add-to-cart {
      background: green !important;
   }
</style>

Tech_Coding_0-1726240647491.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.