Unable to change color of announcement bar.

Topic summary

Issue: The announcement bar color in a Shopify theme does not change despite updating the site’s color scheme (e.g., light lavender or yellow). The user suspects a CSS override is preventing changes.

Details: Screenshots show theme colors set but the bar remains unchanged. The store URL was shared (lashologist.org). An image indicates the bar still displays the unwanted color.

Proposed fix: One reply suggests inspecting the element and adding custom CSS with an !important flag to force the background color, then saving and clearing cache. It also advises checking if the theme has a dedicated setting for the announcement bar.

Access update: A helper offered to test but the store was initially password-protected. The user has now removed the password to allow storefront access.

Status: Unresolved/ongoing. Next steps include verifying the correct CSS selector for the announcement bar, locating any hard-coded CSS in theme files or apps, applying a theme setting if available, or using a targeted CSS override with !important.

Summarized with AI on December 15. AI used: gpt-5.

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?

@Cerealy , could you kindly share your store url ?

"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!"

https://lashologist.org

Cerealy_0-1730058322457.png

It does this.

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). :slightly_smiling_face:

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