Forums

[resolved] Need assistance changing link color after visiting. (3 posts)

  1. kniveslives
    Member
    Posted 2 years ago #

    I am trying to change the color of the links that I put inside of my pages, like here http://knivesanime.com/anime-list/kaze-no-stigma-dubbed

    All of the links are a solid orange, they don't change when hovered over, they don't change color after you've visited the page.

    I am trying to make the links into a specific color to start with, then after you visit the page the link becomes underlined and a basically white color. I have looked into this as far as I can before asking for assistance, the best that I got was this

    <style type="text/css">
    a:link { color: #CCC; text-decoration:none; }
    a:visited { color: #999999; text-decoration:underline; }
    a:hover { color: #FF9933; }
    a:active { color: #ff9900; }
    </style>

    But it doesn't seem to have any effect when I add it to the page. I have attempted to make some changes to the CSS and Main Index Template file and have had no luck, so any assistance provided will be appreciated.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try adding the following to the bottom of style.css:

    #content .entry a:visited {
    color:#fff;
    text-decoration:underline;
    }
    #content .entry a:hover{color:#f93;}
    #content .entry a:active,#content .entry a:focus {color:#f90;}
  3. kniveslives
    Member
    Posted 2 years ago #

    That worked, thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic