• Janet A

    (@janet_a)


    Hi Ben!

    Sorry if this has been answered elsewhere.

    I can’t seem to set the link color. I keep getting the default blue.

    Here’s what I have put in custom CSS:

    #credit a, .ii a[href], p a, .link{
    text-decoration:none!important;
    color:#9b8768!important;
    font-weight:bold!important;
    }

    I even made a copy of the email-styles template to my child theme and changed to this:
    .link {
    <!– color: <?php echo esc_attr( $base ); ?>; –>
    text-decoration:none!important;
    color:#9b8768!important;
    font-weight:bold!important;
    }
    But I still get that danged blue color.

    Would love any tips to fix this.

    Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Where is the link that you are trying to target? any chance you can send a screen shot?

    Ben

    Thread Starter Janet A

    (@janet_a)

    Links to target:
    -Email and website in the footer
    -Customer email in Customer Details
    -Email in Custom Fields

    Here is the screenshot https://snag.gy/KJ9YZM.jpg

    Thank you so much for your time!

    Janet

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    ok, those are not links when they come out of woocommerce. What is happening is your email client is turning them into links and so they are following the style of the email client and not your email link options.

    I’m not sure if there is anything you can do to style that but I’ll run some tests. If adding this into your custom css box isn’t working then there isn’t going to be anything you can do.

    a {
    text-decoration:none!important;
    color:#9b8768!important;
    font-weight:bold!important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link Color’ is closed to new replies.