Solved

How can I change the color of my sale button to black?

stinem123
Pathfinder
138 0 23

Hi, can someone help me change this "BLACK WEEK" sale button to black color (html color: #272720)?

Because of some old coding changes, I cannot edit it in customizations.

 

Link for my website.: https://t31nqs4qseftwowb-57068945600.shopifypreview.com/collections/alle-smykker

Thank you so much, hope someone can help me out here!

 

Skærmbillede 2023-11-17 kl. 20.01.58.png

 

 

 

 

  

 

 

 

.

.

.

.

.

.

.

.

Accepted Solution (1)

Moeed
Shopify Partner
3878 981 1226

This is an accepted solution.

Hey @stinem123 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product-badge--sale {
    background: #272720 !important;
}
</style>

RESULT:

Moeed_0-1700249063228.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
3878 981 1226

This is an accepted solution.

Hey @stinem123 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product-badge--sale {
    background: #272720 !important;
}
</style>

RESULT:

Moeed_0-1700249063228.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
stinem123
Pathfinder
138 0 23

@Moeed Thank you so so much!