BySplitDecision Posted March 11, 2019 Share Posted March 11, 2019 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 Quote Link to comment https://forums.phpfreaks.com/topic/308450-woocommerce-new-order-table-heading-background-color/ Share on other sites More sharing options...
maxxd Posted March 12, 2019 Share Posted March 12, 2019 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. Quote Link to comment https://forums.phpfreaks.com/topic/308450-woocommerce-new-order-table-heading-background-color/#findComment-1565173 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.