Viewing 4 replies - 1 through 4 (of 4 total)
  • Same problem! I have a white text link to download a product on white background.
    Customers are complaining they can’t download products. I don’t really want to edit the email templates, but looks like i might have to.

    If you can fix link colours in emails WooCommerce it would be appreciated.

    Hey fells, just go into your woocommerce files (either in the plugin or your theme directly)

    woocommerce/emails/email-styles.php

    or

    /yourtheme/woocommerce/emails/email-styles.php

    and edit this line (around line 135)

    a {
    color: <?php echo esc_attr( $base ); ?>;
    font-weight: normal;
    text-decoration: underline;
    }

    to this:

    a {
    color:red; /* or whatever color you want, hex value, etc */
    font-weight: normal;
    text-decoration: underline;
    }

    Thanks so MUCH benbunch!!! Worked a treat.
    I worked out what causes this. in the Woocommerce email settings the Base Colour is what is used for links (hence the $base ) this colour is also used to make the massive coloured box at the top of every email which people like me choose to make white, thus creates the white links.
    Thanks again for the spot to fix the links!!

    Thread Starter Frankbtea

    (@frankbtea)

    Yes thank you benbunch! Took me a while to get around to fix this, but did it just now. Spot on advise. Much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Download link in confirmation email is not visible (white)’ is closed to new replies.