My badges look wrong. Help me make them look like the second picture
Topic summary
A user is experiencing misaligned badges on their Shopify store and wants them to match a reference image they provided.
Proposed Solution:
- Navigate to: Online Store → Themes → Actions → Edit Code
- Locate the file
component-card.css - Add CSS code at the bottom to adjust badge alignment
CSS Properties to Apply:
display: flexflex-direction: column-reversealign-items: flex-startgap: 0.5rempadding: 10px 0
The solution targets the .card__badge.top.left class to reposition the badges. The discussion remains open as the original poster has not confirmed whether the fix resolved the alignment issue.
Go to online store ----> themes ----> actions ----> edit code---->find file component-card.css-------->
add this code at the very bottom
.card__badge.top.left {
display: flex;
flex-direction: column-reverse;
align-items: flex-start;
gap: .5rem;
padding: 10px 0;
}
1 Like

