New Landing How can we help? Themeforest Theme Support Dante How to change font color in Woo email headers?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Dante
  • #45328
    FranM
    Member
    Post count: 44

    Hi,

    Is there a way to change the font color in the header of the Woo emails? I would like it to be #ffffff instead of #291904.

    http://dev.designbyfran.com

    Thanks in advance!

    Fran

    #45953
    Melanie – SUPPORT
    Member
    Post count: 11032

    Good question, I will ask the developer about that as I’m not sure.

    Thank you!

    #46063
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Fran,

    Check WooCommerce > Settings > Emails.

    Hope that helps!

    – Ed

    #46079
    FranM
    Member
    Post count: 44

    Hi,

    That’s the first thing I did. I was able to change the header background color, but the text in the header only picks up the email text color. I was hoping you would know the id/class of that text so that I could apply custom css to it. It’s not the most important thing on my plate, though it would be nice to match the rest of my site.

    Just so you know, I absolutely love your themes and your support is second to none. If I could give you 10 stars, I would!

    Thanks,
    Fran

    #47178
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi Fran,

    Sorry to getting you back late.

    That is how it is coded inside the plugin, can you try something like this in your functions.php last line before ?>

    add_action('woocommerce_email_header', 'add_css_to_email');
    
    function add_css_to_email() {
    echo '
    <style type="text/css">
    #template_header h1 { color: blue; }
    </style>
    ';
    }
    

    If that didn’t work, try to put !important, if that also didn’t work you need to do something like this that stated in that area “For more advanced control copy woocommerce/templates/emails/ to yourtheme/woocommerce/emails/.”

    Let me know, what you got.

    Thanks,
    laranz.

    #47244
    FranM
    Member
    Post count: 44

    Hi Laranz,
    I went ahead and bought a plugin to accomplish this.

    Fran

    #47247
    Melanie – SUPPORT
    Member
    Post count: 11032

    Glad to hear that!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register