We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Make header black

Make header black

evatrnt
Tourist
9 0 4

Hi, I would like to make the announcement bar black and the text white, it's not possible in the color settings, I tried.

Link:  https://sophia-shop.com/products/adora-dress

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @evatrnt 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
    Made4uoRibe_0-1732311635189.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

GTLOfficial
Shopify Partner
881 182 192

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
20.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

DaisyVo
Shopify Partner
4469 501 599

HI @evatrnt 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. 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

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution