Change the color of the Sold Out button on Impulse theme

Change the color of the Sold Out button on Impulse theme

Rachal_Prince
Visitor
2 0 1

My customers are getting confused about items that are sold out.  Currently, the button is white with grey text and if it is clicked on it turns purple with grey text.  I would like to change the sold out button color to red and have it not change if it is clicked on.  Here is my website: www.Quirkyfinds.com

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
2305 848 1064

Hi @Rachal_Prince

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[disabled='disabled'] {
    background-color: red !important;
}
</style>

 

Hope this can help you,

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

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

topnewyork
Globetrotter
633 114 134

Hi @Rachal_Prince , 

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
button.add-to-cart[disabled='disabled'] {
    background-color: red !important;
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at Top New York Web Design
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel

BSSCommerce-B2B
Shopify Partner
1747 532 592

@Rachal_Prince ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code before </body>

 

<style>
button.add-to-cart[disabled="disabled"] {
    color: red;
}
button.add-to-cart[disabled="disabled"]:hover {
    background: #f6f6f6 !important;
    color: red;
}
<style>

 

Result:

BSSCommerceB2B_0-1725864880320.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

GTLOfficial
Shopify Partner
554 120 109

Hello @Rachal_Prince 
Go to online store ----> themes ----> actions ----> edit code---->theme.css
add this code at the end of the file.

 

 

button.add-to-cart[disabled="disabled"] {
    color: red;
}
button.add-to-cart[disabled="disabled"]:hover {
    background: #f6f6f6 !important;
    color: red;
}

result
5.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: [email protected] - Skype: ritesh_27dh