• Resolved iasmina

    (@iasmina)


    Hello!

    I am using OceanWP Theme and woocommerce for my shop. The problem is that on mobile the email confirmations (all of them) headings are very big. How can I reduce them?

    Regards, Iasmina

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey, iasmina, I’m another WooCommerce user.

    This can be done using custom PHP code.

    See below for additional information:

    add_filter( 'woocommerce_email_styles', 'woocommerce_email_styles' );function woocommerce_email_styles( $css ) {$css .= "";return $css;}

    You can add your own CSS within the empty quotes.

    Thread Starter iasmina

    (@iasmina)

    Hello Ian! Thank you very much for help. If the changes I want to be just for the mobile this code will work?

    add_filter( ‘woocommerce_email_styles’, ‘woocommerce_email_styles’ );function woocommerce_email_styles( $css ) {$css .= “@media only screen and (max-width: 600px)?{h1?{font-size:?12px;}}”; return $css;}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Heading Woocommerce Emails’ is closed to new replies.