turn sale badge on product page into a rectangle

Topic summary

A user wants to modify the sale badge on their product page to have sharp rectangular corners instead of rounded ones, matching the style of their product card badges. They are using the Dawn theme.

Solutions provided:

  • Add CSS code to base.css file to remove border radius: .badge{border-radius: unset !important;}
  • To reduce badge size, add: .product .badge { padding: .5rem !important }
  • To decrease text size, use: .badge{font-size: 1rem;}

An alternative suggestion was made to use a third-party Product Badges app for more customization options.

Status: The issue appears resolved with CSS modifications, though the user hasn’t confirmed the final implementation.

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

hello, i want to change the sale badge on my product page so that it is a rectangle, like my product card. On the product page, it is currently got curved corners.

Screenshot 2025-01-09 at 14.47.14.png

this is the product page, as you can see it has curved corners. I want it like this:

this is my product card, where it is a rectangle instead of curved corners

my website is www.marcomontesi.com , theme is dawn

@ads18922 please add this css to the very end of your base.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → base.css

.badge{border-radius: unset !important;}

thank you, is there a way to also make the box and text a bit smaller?

Please use this code

.product .badge { padding: .5rem !important }

@ads18922 to reduce text size add this

.badge{font-size: 1rem;}

Hi @ads18922 ,

You can consider using the Product Badges app and its Price Badge feature to customize your badges on product pages.