A user sought help repositioning “SALE” and “SOLD OUT” badges on product images in the Bullet theme, wanting them moved to the top-left corner with specific styling.
Initial Requirements:
Move badges from current position to top-left corner of product images
Add white background box with red text
Reduce box dimensions for mobile display
Solution Provided:
Two community members provided CSS code modifications to the app.css file:
Initial code repositioned the badges using position: absolute with top: 8px and left: 8px
Enhanced code added:
color: red for text
background: white for box
font-size: 0.75em within a media query (max-width: 480px) to reduce size on mobile
Outcome:
The solution successfully resolved all requirements. The user confirmed the code worked perfectly for both desktop and mobile displays.
Summarized with AI on November 12.
AI used: claude-sonnet-4-5-20250929.