Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: How to change color of announcement bar in Dawn theme

Solved

How to change color of announcement bar in Dawn theme

melimiya
Excursionist
29 4 6

Hi, I tried searching for how to change the color of the announcement bar on the top of my webpage, but couldn't find any instructions for Shopify's Dawn theme. I'm willing to try editing the theme's code in order to accomplish this if anyone can help me with that.

My website: https://kittie-treats.com

Thank you,

Melissa

Accepted Solution (1)
Zworthkey
Shopify Partner
5581 642 1583

This is an accepted solution.

Hii, @melimiya 
Paste this code on top of the base.css file.

.announcement-bar.color-background-1.gradient {
    background-color: #E9CED9 !important;
}

Thank You.

View solution in original post

Replies 8 (8)

JohnFromJotting
Shopify Partner
665 94 133

Hi @melimiya 

So go to the customizer, when you go to the announcement bar there is a color scheme there. Choose whichever you want, in my below example I chose Accent 2. Then go to your color theme settings and change accent 2 colour. Obviously anything linked to Accent 2 will have that colour change to it.

Bluish_1-1635558743783.png

 

Bluish_2-1635558775137.png

 

 

 

Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.


To hire me, visit my Upwork profile

melimiya
Excursionist
29 4 6
Hi Bluish,

Thank you for your response. I actually want to change the color to
something other than the black, white, and green colors available on the
Dawn theme. I wanted more of a pink color to match the rest of my website
branding. Is there any way for me to change the color of the announcement
bar to a setting outside of the default colors?

Thank you,
Melissa
JohnFromJotting
Shopify Partner
665 94 133

Sorry not following, you are able to change the accent colour to whatever colour you want as mentioned in my first post

Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.


To hire me, visit my Upwork profile

Zworthkey
Shopify Partner
5581 642 1583

This is an accepted solution.

Hii, @melimiya 
Paste this code on top of the base.css file.

.announcement-bar.color-background-1.gradient {
    background-color: #E9CED9 !important;
}

Thank You.

melimiya
Excursionist
29 4 6

Yay! It worked! Thank you so much Zworthkey! 

Zworthkey
Shopify Partner
5581 642 1583

@melimiya 
Welcome!

Nico38
Trailblazer
172 5 61

@Zworthkey 

how to do when you use 2 bars and you want 2 different colors?

Brittany_Witt
Explorer
52 0 17

Thank you so much @Zworthkey! This worked for me DAWN theme! Much appreciated!

Brittany Witt