Change colour of sale and sold out badge dawn theme

Solved

Change colour of sale and sold out badge dawn theme

miab1567
Excursionist
18 0 4

How can I change the sale badge on all pages to be a red background with white text and the sold out badge on all pages to be a black background with white text. 

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2305 848 1065

This is an accepted solution.

Hi @miab1567

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>
span.badge.price__badge-sale {
    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

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
2305 848 1065

Hi @miab1567

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>
.badge.badge--bottom-left{
     background: black !important;
  }

.badge.badge--bottom-left.color-accent-2 {
     background: red !important;
  }
</style>

 

 

Here is result: 

BSSCommerceHDL_0-1727779242858.png

 

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

miab1567
Excursionist
18 0 4

Thanks, this works. How do I do it on the product pages too?

BSSCommerce-HDL
Shopify Partner
2305 848 1065

This is an accepted solution.

Hi @miab1567

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>
span.badge.price__badge-sale {
    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

miab1567
Excursionist
18 0 4

amazing, thanks!

BSSCommerce-HDL
Shopify Partner
2305 848 1065

@miab1567, No problem. Have a good day 😍

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