Shopify themes, liquid, logos, and UX
Change Sale badge placement on collection page in dawn theme
default is on bottom left and i want it on top left
Solved! Go to the solution
This is an accepted solution.
Hello @fostino,
1. Go to Online Store->Theme->Edit code
2. Asset->base.css-> paste bellow code in bottom of file
.card__badge {
bottom: unset !important;
display: flex;
flex-wrap: wrap;
left: 1rem;
position: absolute;
top: 1rem;
}
Thank
This is an accepted solution.
Hello @fostino,
1. Go to Online Store->Theme->Edit code
2. Asset->base.css-> paste bellow code in bottom of file
.card__badge {
bottom: unset !important;
display: flex;
flex-wrap: wrap;
left: 1rem;
position: absolute;
top: 1rem;
}
Thank
weirdly enough this solution places the badge only half way up for me and not top left 😕 do you have any idea why?
Here too. It's only halfway up.
I adjusted the rem: THEME DAWN 9.0.0
.card__badge {
bottom: unset !important;
display: flex;
flex-wrap: wrap;
left: 1rem;
position: absolute;
top: -9rem;
}
I adjusted the rem: THEME DAWN 9.0.0
.card__badge {
bottom: unset !important;
display: flex;
flex-wrap: wrap;
left: 1rem;
position: absolute;
top: -9rem;
}
User | RANK |
---|---|
194 | |
179 | |
84 | |
57 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023