Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Last active August 7, 2017 08:53
Show Gist options
  • Save BFTrick/0cabd857df3f2cbf3e90f3a4181ea286 to your computer and use it in GitHub Desktop.
Save BFTrick/0cabd857df3f2cbf3e90f3a4181ea286 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