How ı change “sale” dawn badge blue color from other color?
Use this CSS to change the badge color
- From your Shopify admin dashboard
- Navigate to Online stores > Themes > Select the Dawn theme
- Click on Actions > Edit code
- From the code editor, search for the base.css file (It should be on the assets folder)
- Paste this code at the bottom of the file
.badge {
background-color: green !important;
border-color: green !important;
}
Cheers!
can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/base.css ->paste below code at the bottom of the file.
span.badge.badge--bottom-left.color-accent-2 {background: red;border-color: red;}
/* chage color as you like */
Have you take a look at this guide yet?
It is a quick tutorial on how to change the background color, text color and text size of the Dawn’s badges. It also teaches you how to use a different color for sale/sold-out badges.
Let me know if you need any further assistance.
Kind regards,
Diego
Hello, Diego!
The tutorial works only for desktop version but not for mobile. Do you have any suggestions?
My site: www.mylittlebunny.nl
Regards,
Olga
It worked. I just had to change the color I wanted them changed to. Thank you!