hi i currently have my sale showing 47% off but there’s no badge with color on MY PRODUCT PAGE, how can i make it white writing and black background?
Topic summary
Goal: add a visible sale badge on the product page with white text on a black background (e.g., showing “47% off”). A product link was shared for context.
Recent updates:
- A request was made for a screenshot to clarify the exact placement and styling of the badge.
- One participant reported the badge appears fine now and asked if the issue was resolved.
- A technical suggestion was provided: edit the theme’s price.liquid (Shopify template that renders product pricing) and wrap the existing “save % off” code in a dedicated block, implying you can then target it with CSS for styling.
Key technical point:
- price.liquid is the file controlling the price section; wrapping the discount code enables attaching classes/IDs and custom CSS (to set white text on black background).
Status and open items:
- No confirmed resolution from the original poster.
- Styling specifics (CSS for white-on-black) were not provided; a screenshot and/or CSS details are still needed.
Attachments:
- Code snippet was referenced; a screenshot was requested but not provided.