Unable to change color of announcement bar.

Unable to change color of announcement bar.

Cerealy
New Member
4 0 0

Cerealy_0-1729995942731.png

As you can see on the right i have to color scheme as a light lavander color, but the color of the announcement bar wont change, even if i change all the colors in my theme to yellow for example this will stay the same. It seems there is some code preventing this color from changing. How fix?

Replies 6 (6)

BSSCommerce-B2B
Shopify Partner
1972 564 568

@Cerealy , could you kindly share your store url ?

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Cerealy
New Member
4 0 0

Dainal12
Visitor
3 0 0

"I’m having trouble changing the color of the announcement bar on my theme. Even after setting my color scheme to light lavender and testing other colors, the announcement bar still won’t update. It looks like there’s CSS preventing the change.

To fix this, I inspected the element and added some custom CSS:

css
.announcement-bar {
background-color: #f0e1ff !important; /* Change this to your color */
}
Adding !important forces this color to apply. Also, make sure to save changes and clear your cache. If you’re using a CMS, check if there’s a setting specifically for the announcement bar in your theme options.

This worked for me; hope it helps!"

 

Dainal Thomas
Cerealy
New Member
4 0 0

Cerealy_0-1730058322457.png

It does this.

Olllie
Shopify Partner
121 11 23

Hey,

 

Just checking in to see if you managed to sort this out? If not, I’m happy to take a look for you. However, since your store is currently locked, I’m unable to test the announcement bar directly.

 

If you’d like me to investigate, just send me a private message so we can discuss access (just to the storefront). 🙂

Ollie | Founder & Developer of autoBlogger and autoSchema

autoBlogger: Seamlessly scheduled, fully automated, AI-powered, and SEO-optimised blogging with FAQs, table of contents and other features! Start your 14-day free trial today!


autoSchema: Fully automated and continuously updated Google structured data, including duplicate data removal. Simple to install – try it now!


Discover more at autoBlogger.bot!

Cerealy
New Member
4 0 0

I don't know how to private message but I have removed the password to the store