How to change the background color of the WooCommerce Store Notice

Share Post:

Share on facebook
Share on linkedin
Share on twitter
Share on pinterest
Share on email

Disclosure: I am an independent blogger and the reviews are done based on my own opinions. My posts may contain affiliate links. You won’t pay a single cent more if you buy something through one of those links. But I’ll get a small commission, which helps keep the lights on. Click here to read the full disclosure policy. Thanks!

Hi everyone, in this tutorial, I am going to show you how to change the background color of Astra Theme‘s Woocommerce Store Notice. 

I have uploaded this entire tutorial on Youtube. Feel free to like and subscribe to my channel for my upcoming tutorials if it helps! Continue reading if you prefer reading as I do. 

So, let’s get started! This demo page design is a template imported from Astra Starter Templates. Go to Customize -> WooCommerce -> Store notice, and click on the check box to enable the feature.

You can write your message in the text box.

The default color is a purple background with white text. Currently, there is no way to change the colors in the global color settings.

The color setting only allows you to change theme color, text color in normal, active, and hover states.

Hence how do we change the colors?

Add the CSS code to change them. Go back to the main page, and click Additional CSS.

Key in these codes, and you will see the changes instantly. You can either enter the name of the color or color code to change them. 

							
							
					p.woocommerce-store-notice.demo_store {
    background-color: black;
    color:#FFFFFF;
}
a.woocommerce-store-notice__dismiss-link {
    color:grey !important;
}
				
			

Click Publish to save your changes, and that’s all for this tutorial.  You can find my full review with a comparison of Astra Theme and Neve Theme in my previous post.
I hope this helps with your web design.

You can get Astra Theme for free or purchase their PRO bundle with this link. 

Feel free to like and follow my blog for more upcoming tutorials, see ya!

4 thoughts on “How to change the background color of the WooCommerce Store Notice”

  1. Hi, this was very helpful. Is there a way to change the background of the whole shop page. When I change the backgorund in the customize it just gives a box around it with Woocommerce things still have a white background. Thank you!

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

How to justify text in Shopify’s pages?

Do you know?  In order to customize the look and feel of your web store in Shopify, it is highly recommended that you learn some simple coding to improve the user experience and navigation. One of the requests I often received from clients will be justifying the text in specific pages such as Privacy Policy,

Step-by-step guide to add www. redirection to subdomain with Cloudflare

It’s been awhile! It’s been a while since I last posted. My apologies for my busy schedule as I am learning new things and running multiple businesses. I will likely focus less on banner images and more on writing content in the future.  My topic today is a request I had encountered recently!*Note: this guide

Scroll to Top