Easy and Simple Link Color Change

  • Unknown's avatar

    I am using the Unsleepable Theme which has a nice simple and clean look. Unfortunately, the link color is light magenta and the click-through rate on my links was rather low. I changed them to a more traditional medium blue in the body and a slightly lighter blue in the footers and in the comment section. The change is quite simple:

    .itemtext a:link {
    color:#0033CC;
    }

    .metadata a:link {
    color:#0066CC;
    }

    .commentmetadata a:link {
    color:#0066CC;
    }

    .reply a:link {
    color:#0066CC;
    }

    .comments a:link {
    color:#0066CC;
    }

    This is the entire text of my new Stylesheet! There is no need to re-enter data on font size, style, etc, unless you want to change those parameters as well. You can see the results at http://autouniversum.wordpress.com/

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.

    If you don’t understand the difference, you may find this information helpful.

  • Unknown's avatar

    That is because I flagged the post as “Not a support Question.” Time to update your auto-response system.

  • Unknown's avatar

    And the reason you started another thread on the same subject I was working with you on in another thread???

  • Unknown's avatar

    Because the previous thread was an “I have a problem” thread.

    This is a “solution thread” showing code that maybe others can utilize without plodding though our previous back and forth communications.

    If I have broken protocol, please delete the post.

  • Unknown's avatar

    Ah, OK my bad. No broken protocol.

  • Unknown's avatar

    I am glad of that – I appreciate all your help. You pushed me in the right direction.

  • Unknown's avatar

    You’re welcome. You did it in a different way that what I would have, and I’ll have to look over what you did carefully for future reference.

    And thanks for posting the solution. It could very well help others wanting to do the same thing.

  • The topic ‘Easy and Simple Link Color Change’ is closed to new replies.