Jump to content
Sign in to follow this  
BySplitDecision

Woocommerce New Order Table Heading Background Color

Recommended Posts

Good evening,

 

I'm trying to change the background color of my table header in my New Order email.

Is this possible to do?, I can't seem to locate the HTML which generates the table.

 

Many thanks,

BSD

Screen Shot 2019-03-11 at 22.44.01.png

Share this post


Link to post
Share on other sites

The email files are located in the woocommerce/templates/emails directory - I believe you're looking for the customer-processing-order.php file. Don't change the files in the plugin directory, though, or any changes you make will be overwritten next time the plugin updates. Create a /woocommerce directory in the root of your theme. Inside that, match the directory structure of the plugin's templates directory and copy the file there, then make changes to that version.

In other words, copy /plugins/woocommerce/templates/emails/customer-processing-order.php file to /your-theme/woocommerce/emails/customer-processing-order.php. Make the change in the version that's in your theme directory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.