Shopify themes, liquid, logos, and UX
Does someone know how to change the design of the sold out and sale badge?
I would like to make the sold out badge not as rounded and more angular + to the color black (background) and white text.
And is there a way to remove the Sale badge?
Thank you!
Im using the Trade theme.
Picture:
o
Solved! Go to the solution
This is an accepted solution.
Hi @KimGottwald
Check this one.
/* sold-out badge */
.badge--bottom-left.color-scheme-3 {
border-radius: 10px !important;
background: black;
color: white;
}
/* sale badge */
.badge--bottom-left.color-scheme-5 {
display: none;
}
I add some note so you wont confuse.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @KimGottwald
Check this one.
/* sold-out badge */
.badge--bottom-left.color-scheme-3 {
border-radius: 10px !important;
background: black;
color: white;
}
/* sale badge */
.badge--bottom-left.color-scheme-5 {
display: none;
}
I add some note so you wont confuse.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you, is it also possible to move the sold out badge to the top left?
And to do exactly the same with the bade on product page?
Hello @Made4uo-Ribe
How can i change my sale badge to look like this example? Same position and everything. If possible i would like to learn how to create a new badge also for "25%" for example.
Please and thank you.
www.diversusoficial.com
Hi @HELDERWRLD
I cant see your sale badge in your store. The percent discount can be done by custom coding. Let us know if your interested. Thanks!
Thanks for the info, try this one.
.card__badge:has(.badge.badge--bottom-left.color-accent-2) {
align-self: start;
grid-row-start: 1;
justify-self: end;
}
.badge.badge--bottom-left.color-accent-2 {
border: none;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Thank you so much @Made4uo-Ribe , it worked perfectly. You the best!!
Do you also know how i can change the colour to black and remove the grey background and leave just the text?
Also, how can i create a similar badge for example for the percentage in the bottom left?
Add this code.
.badge.badge--bottom-left.color-accent-2 {
background: transparent;
color: black;
}
And Save.
To create another percentage badge. It needs a custom code.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Thank you so much, i worked.
Do you know how i can do the same style for the sold out badge on the bottom? With the freedom to change the colour, size and position please and also remove the background.
This is for the sold-out. You can change the whatever you like. For the position, since this is not dynamic it needs to be fixed position.
Add the code below.
.badge.badge--bottom-left.color-inverse {
background: transparent;
border: none;
font-size: 16px;
color: red;
}
And Save.
result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Thank you, it worked!
Thank you for everything!
Hello again @Made4uo-Ribe sorry for bothering you.
I learnt how to create quick badges and i would like to know if you can help me fix the positioning.
The badges i am creating are made for the bottom left, but i already have a "sold out" badge on the bottom left. I would like to know if it's possible to put the sold out badge on the top left and to put these new badges i am creating on the middle and also have the possibility to change the style (e.g. colour, size, remove background) like the one you helped me a few hours ago.
How it is:
You can see here: https://diversusoficial.com/collections/mens-ready-to-wear
Please and thank you for your help.
Can anyone help me please?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024