Hi, I would like to make the announcement bar black and the text white, it’s not possible in the color settings, I tried.
1 Like
Hi @evatrnt
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.announcement__bar-outer .announcement__bar-holder {
background-color: #000;
}
.announcement__message {
color: #fff;
}
-
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!
1 Like
HEllo @evatrnt
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file and save.
.announcement__slide.announcement__bar {
color: white !important;
background: black !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
HI @evatrnt
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
announcement-bar.announcement__bar-outer * {
background: black !important;
color: white !important;
}
Here is the result: https://prnt.sc/QEHH9M3AZDnC
Best,
Daisy
