Changing Link Appearance

  • Unknown's avatar

    Hello all,

    I would like my website’s links to appear as follows:

    1. Non-clicked, non-hovered links to be this color: #257da7 and not underlined
    2. Clicked links to appear red and with no underline
    3. hover over links to be this color: #257da7 and underlined

    If someone can give me a hand, I will certainly appreciate it.

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Is this a CSS editing question? And, do you have the custom design upgrade?

  • Unknown's avatar

    You will need to try this and make sure nothing happens where you do not want it to. In some instances sidebar links (which you have heavily styled) can also inherit from the main “a” settings. There could also be things that you want to follow the below that will not, and then you will have to figure out the selectors for those and add to each of the below as necessary.

    non-visited, non-hovered

    a:link {
    color: #257da7;
    text-decoration: none;
    }

    visited

    a:visited {
    color: #CC0000;
    text-decoration: none;
    }

    hovered

    a:hover {
    color: #CC0000;
    text-decoration: underline;
    }

  • Unknown's avatar

    Oops, messed up on the code tags for the hovered bit.

    a:hover {
    color: #CC0000;
    text-decoration: underline;
    }
  • Unknown's avatar

    Hello TheSacredPath,

    It seems to have worked fine except for one little thing. Links created in the subtitles of the articles or on the credit area -where it says the author of the article and origin- the links are red. It seems that links that are not in the article per se are red.

    I don’t mind it though, but would like to know if this is what you meant when you said some things would not be affected and may require further customizing?

  • Unknown's avatar

    I am wondering if this is because I may have clicked on them before?

  • Unknown's avatar

    Log out, clear your browser cache, restart your browser and then take another look. I’ve not clicked on any links and I’m seeing them all in the bluish color.

  • Unknown's avatar
  • Unknown's avatar
  • The topic ‘Changing Link Appearance’ is closed to new replies.