A Shopify store owner using the Craft theme seeks to reduce the size of sale badges on product cards, particularly on mobile view, where they occupy excessive space. The goal is to match the badge size of a reference site (ugaoo.com).
Solutions Provided:
Badge positioning and layout: Add CSS to component-card.css to adjust badge display properties (position, max-width)
Font size control: Modify base.css to set custom font size for badges using font-size property
Compact styling: Apply padding (3px), border-radius (4px), and smaller font (11px) via CSS in base.css
Remove “OFF” text: One contributor noted the reference site’s smaller badges lack the “OFF” suffix, suggesting its removal to achieve similar appearance
Secondary Issue:
The user also wants to customize newly available collection card buttons (smaller size, 6px corner radius, solid background), though this remains unaddressed.
Status: The badge sizing issue appears resolved using the provided CSS solutions. The button customization request is pending.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
Sale badge size is too big in mobile view in cards, it occupies a lot of space, can i reduce it little? if possible i would like to be of the size of www.ugaoo.com sale bade in card size.
Shopify now allows the button on collection cards, which is so good, but again the size is ridiculously big, i want to be of my liking corners of 6 and little narrow and small and if possible of solid back.
The sample store you provided does not include the word “OFF” on its badges, which is why they appear smaller compared to your store. Would you like to remove the “OFF” text from the badges on your store to match the sample store?