Dawn Theme - 'Sale' badge - change to red background and a circle shape

Topic summary

A user wants to modify the ‘Sale’ badge on their Dawn theme store to have a red background and circular shape.

Proposed Solutions:

  • One responder suggested adjusting colors through the theme customizer (Customize > Theme Settings > Colors), but this approach affects all elements using that color variable.
  • Another provider offered custom CSS code to be added to the base.css file, which would:
    • Set specific width and height (57px)
    • Apply 50% border-radius for circular shape
    • Add custom padding (20px 3px 0 3px)
    • Use !important flags to override existing styles

Current Status:
The discussion includes a CSS solution but appears incomplete (code snippet cuts off). The user confirmed that theme-level color changes aren’t suitable since they impact other design elements. A custom CSS approach targeting the .card__badge .badge class seems to be the recommended path forward.

Summarized with AI on November 24. AI used: claude-sonnet-4-5-20250929.

Hi, as per the question, I am referring to the ‘Sale’ badge below.

I would like to change the backgound to red and make it a cirle shape.

Thanks!

Hello @falkor ,

Could you please share your store url ( with pass if your store password is enabled ) then I can see and suggest something for you?

Best regards,
GemPages Support Team

1 Like

Hi @falkor ,

You can change background color of that badge in Online store > Theme > Customize > Theme Settings > COLORS

Unfortunately not, as that also impacts all other elements that reference that colour.

Hello there,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >base.css and paste this at the bottom of the file:
.card__badge .badge {
width: 57px!important;
height: 57px!important;
border-radius: 50%!important;
padding: 20px 3px 0 3px!important;
}