Make Badges Different Colors

Solved

Make Badges Different Colors

Mg71
Excursionist
29 0 6

Right now we have two badges, free shipping and sale. I'd like to make the sale badge red, but keep the free shipping badge black. I'm using the pipeline theme. I've attached an image of the two badges. 

 

Thank you!

 

Screenshot 2024-06-24 171216.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6981 1661 2051

This is an accepted solution.

Hi @Mg71 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.product__badge.product__badge--sale {
    color: red;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1719264287854.png

     

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
6981 1661 2051

This is an accepted solution.

Hi @Mg71 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.product__badge.product__badge--sale {
    color: red;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1719264287854.png

     

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Mg71
Excursionist
29 0 6

Thank you!

PageFly-Theodor
Shopify Partner
691 86 98

Hi @Mg71 


This is Theodore from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.product__badge.product__badge--sale {
    color: blue !important;
}
</style>

Hope this can help you solve the issue

 

Best regards,

Theodore | 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.