Title: CSS ignored
Last modified: August 30, 2016

---

# CSS ignored

 *  Resolved [DanielOakfield](https://wordpress.org/support/users/carodani/)
 * (@carodani)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/css-ignored/)
 * So I can see the rough layout but the css received in the inbox is different,
   in fact your plugin shows only tables but no real style
 * [https://wordpress.org/plugins/woocommerce-email-test/](https://wordpress.org/plugins/woocommerce-email-test/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [raiserweb](https://wordpress.org/support/users/raiserweb/)
 * (@raiserweb)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/css-ignored/#post-6204307)
 * Hi Carodani
 * The plugin is designed to pull in the CSS style, as well as the HTML layout, 
   into the browser.
 * Are you using any other email based widgets that might be altering the way the
   emails are being created?
 *  [danielbitzer](https://wordpress.org/support/users/danielbitzer/)
 * (@danielbitzer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/css-ignored/#post-6204421)
 * Hi, great plugin!
 * You just need to inline the CSS. That will fix this issue.
 * Change line 89 of the plugins functions.php file to:
 * `echo $new_email->style_inline( $new_email->get_content() );`
 *  Plugin Author [raiserweb](https://wordpress.org/support/users/raiserweb/)
 * (@raiserweb)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/css-ignored/#post-6204422)
 * Hi danielbitzer
 * Thank you for this fix – top marks to you sir
 * raiserweb
 *  [danielbitzer](https://wordpress.org/support/users/danielbitzer/)
 * (@danielbitzer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/css-ignored/#post-6204423)
 * Hi raiserweb,
 * Try this fix for customer note preview on line 87 of functions.php file
 *     ```
       switch ( $for_filter )
       	{
       		case 'customer_note':
       			$new_email->trigger(array(
       				'order_id' => $wc_email_test_order_id,
       				'customer_note' => "Hi there, \n Donec ullamcorper nulla non metus auctor fringilla. Lorem ipsum dolor sit amet, consectetur adipiscing elit."
       			));
       			break;
       		default:
       			$new_email->trigger( $wc_email_test_order_id );
       			break;
       	}
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS ignored’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-email-test_252526.svg)
 * [WooCommerce Email Test](https://wordpress.org/plugins/woocommerce-email-test/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-email-test/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-email-test/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-email-test/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-email-test/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-email-test/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [danielbitzer](https://wordpress.org/support/users/danielbitzer/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/css-ignored/#post-6204423)
 * Status: resolved