• Resolved Julien

    (@igloo3)


    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

    (@bhshravankumar)

    Hello @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/.

    Hope this helps.

    Thread Starter Julien

    (@igloo3)

    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

    (@bhshravankumar)

    Hello @igloo3,

    The code you shared seems to have an issue, please refer to this screenshot: 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.