Hi, I’d like to change announcement bar color to red and also bold the text.
Thank you.
Request: change Shopify announcement bar background to red and make the text bold.
What was provided:
Follow‑up on text color:
New related query (Sold Out badge):
Status: Announcement bar background/bold solutions provided; announcement text-to-white request pending explicit closure. Sold Out badge color issue resolved. Images and a product link were used to illustrate results.
Hi, I’d like to change announcement bar color to red and also bold the text.
Thank you.
Hi @TheUnavailable Thanks for providing the URL, Please add the code in your theme.css/base.css/style.css file which is available in your theme.
.page-width.utility-bar__grid {
background-color: red !important;
}
p.announcement-bar__message.h5 {
font-weight: bold !important;
}
If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:
Result:
If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil
please use this css
.announcement-bar-section { background: red !important; } .announcement-bar p span { font-weight: 700; color: #fff; }hope so it will work
Please add the following code at the bottom of your css file.
.utility-bar {
background: red !important;
}
.announcement-bar__message {
font-weight: bold;
}
Thanks. What code can I add to that to make the color white?
Do you need text color white ?
Yes please
Hello! just following up on this question. How to make text color White for Sold Out badge? thank you in advance.
Please add the following code to your assets/base.css bottom of the file.
.product__info-wrapper .price .badge.price__badge-sold-out { color: #fff !important;}
2] second solution Please add the following code to your layout/theme.liquid before end tag
Thanks!
Million thank you! ![]()