Shopify themes, liquid, logos, and UX
Im unable to change the font size bigger for the sale badges, but I was able to change the font family no problem. I was using the .card__badge to change things, but unsuccessful for font size. all it does is move the badge downwards odddly. how can I change the size?
Thnaks 🙂
SOLVED - was .badge!!!
Hi,
Please follow the steps below to change the sale badge font size in the Dawn theme:
Step 1: Go to Shopify Admin -> Online Store -> Theme -> Edit code.
Step 2: Search for the theme.liquid file.
Step 3: Insert the following code above the </head> tag:
<style>
.card__badge {
font-size: 16px !important;
font-family: inherit !important;
line-height: 1.2 !important;
}
</style>
Hope this can help you!
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Hi @xnyjyh , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025