Twenty Twelve
css visited link colour and hover over visited link colour won't change. (3 posts)

  1. angelagoodnight
    Posted 2 years ago #

    I have read several of the explanations for how to do this.
    I am on the 2012 theme.
    Visited links are a grotty grey as standard and links are a murky blue. I have used the following code and it changes the link colour to a bright blue as I wished and the hover colour to magenta, but no matter what I do the visited colour stays the grotty grey and there is no hover colour over visited links. I have tried all sorts of solutions from the forum and it still won't change.

    /* Links */
    .entry-content a:visited, .
    comment-content a:visited {
    color: #33cc00;
    text-decoration: underline;

    a {
    outline: none;
    color: #0033ff;
    text-decoration: underline;

    a:hover {
    color: #ff00ff;
    text-decoration: underline;

    Can someone help me on this? So, to reiterate the problem is that I want to change the visited colour and the colour when a visited link is hovered over. Everything else is fine.

    My site http://www.angelagoodnight.com/sexblog - warning this is an 18+ site!

  2. stephencottontail
    Posted 2 years ago #

    You've got a stray period at the end of the second line that needed to be at the beginning of the third line. Try this:

    .entry-content a:visited,
    .comment-content a:visited {
  3. angelagoodnight
    Posted 2 years ago #

    Great. Thanks Stephen. I think the period at the end of that line should have been at the beginning of the next line hence the problem.

    Now all I have to do is find out how to change the colour of all the links in the right hand margin, in the widgets, so I'll be digging into the forum again tomorrow to see if that is covered.

    Help was much appreciated.


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic