Skip to content

Instantly share code, notes, and snippets.

@grayayer
Forked from BFTrick/functions.php
Last active October 7, 2016 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grayayer/544e3c5a532de1b37bdd4b6032beae6a to your computer and use it in GitHub Desktop.
Save grayayer/544e3c5a532de1b37bdd4b6032beae6a to your computer and use it in GitHub Desktop.
Change WooCommerce Email Styles
<?php
add_filter( 'woocommerce_email_styles', 'patricks_woocommerce_email_styles' );
function patricks_woocommerce_email_styles( $css ) {
$css .= "#template_header { background-color: #231f20; }";
return $css;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment