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!
A user wants to differentiate badge colors on their Shopify store—specifically making the “sale” badge red while keeping the “free shipping” badge black on the Pipeline theme.
Solutions provided:
.product__badge.badge--sale {
color: red;
}
</head> tag by going to Actions > Edit code.Both solutions target the sale badge specifically using CSS class selectors. The user confirmed the issue was resolved.
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!
Hi @Mg71
Check this one.
.product__badge.product__badge--sale {
color: red;
}
Hi @Mg71
This is Theodore from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the 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
Hope this can help you solve the issue
Best regards,
Theodore | PageFly
Thank you!