Title: Emails Css
Last modified: June 21, 2024

---

# Emails Css

 *  Resolved [Julien](https://wordpress.org/support/users/igloo3/)
 * (@igloo3)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-css/)
 * Hi,
 * Great plugin !
 * I need to add some custom css to my email templates. For example, delete the 
   borders of the body, changes the title font.. could you tell me how I can achieve
   that please ? I know I need to do it via FTP but can’t find out how.
 * Thank you,
 * Best regards,
   Julien

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

 *  Plugin Support [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * (@bhshravankumar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-css/#post-17848477)
 * Hello [@igloo3](https://wordpress.org/support/users/igloo3/),
 * Please refer to this article to learn how you can add custom CSS to the product
   table: [https://cartflows.com/docs/filters-to-customize-product-table/](https://cartflows.com/docs/filters-to-customize-product-table/).
 * Hope this helps.
 *  Thread Starter [Julien](https://wordpress.org/support/users/igloo3/)
 * (@igloo3)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/emails-css/#post-17865596)
 * Hi, 
   Thanks. I’ve tried to use this code to add a negative margin top to the 
   body. Because there’s a huge gap between the main title and the first content
   image, but that won’t work.Can you please help me ? Thanks
 * /* * The woo_ca_email_template_table_style filter allows you to change the default
   styles of * product table & product image provided by WooCommerce Cart Abandonment
   Recovery plugin. * */ add_filter( ‘woo_ca_email_template_table_style’, ‘wcar_product_table_styles’,
   10 ); function wcar_product_table_styles( $style ){ $style[‘product_image’][‘
   style’] = ‘height: 42px; width: 42px;’; $style[‘table’][‘style’] = ‘color: #636363;
   border: 1px solid #e5e5e5; width:250px;margin-top: -90px;’; $style[‘table’][‘
   attribute’] = ‘align=”center” ‘; return $style; }
 *  Plugin Support [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * (@bhshravankumar)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/emails-css/#post-17877814)
 * Hello [@igloo3](https://wordpress.org/support/users/igloo3/),
 * The code you shared seems to have an issue, please refer to this screenshot: 
   [https://bsf.d.pr/i/nLk2Vv](https://bsf.d.pr/i/nLk2Vv).
 * Could you please try this code and elt us know how it goes:
 * /* * The woo_ca_email_template_table_style filter allows you to change the default
   styles of * product table & product image provided by WooCommerce Cart Abandonment
   Recovery plugin. * */
 * add_filter( ‘woo_ca_email_template_table_style’, ‘wcar_product_table_styles’,
   10 );
 * function wcar_product_table_styles( $style ){
   $style[‘product_image’][‘style’]
   = ‘height: 42px; width: 42px;’;$style[‘table’][‘style’] = ‘color: #636363; border:
   1px solid #e5e5e5; width:250px;margin-top: -90px;’;$style[‘table’][‘attribute’]
   = ‘align=”center”’;return $style;}

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

The topic ‘Emails Css’ is closed to new replies.

 * ![](https://ps.w.org/woo-cart-abandonment-recovery/assets/icon-256x256.gif?rev
   =3370405)
 * [Cart Abandonment Recovery for WooCommerce – Recover Lost Sales with Automated Emails](https://wordpress.org/plugins/woo-cart-abandonment-recovery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-cart-abandonment-recovery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-cart-abandonment-recovery/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-cart-abandonment-recovery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-cart-abandonment-recovery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-cart-abandonment-recovery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/emails-css/#post-17877814)
 * Status: resolved