• Resolved Dawn Ogden

    (@dawn-ogden)


    I want my links to be blue when active, unfollowed & when hovered.
    Then I want them to be purple once they have been followed.
    This is the original code from Pilcrow theme.

    /* Links */
    a {
    	color:#1c9bdc;
    	text-decoration: none;
    }
    a:focus,
    a:active,
    a:hover {
    	color: #1873a1;
    	text-decoration: underline;
    }

    I added this.

    a:visited {
    	color: #971CDC;
    	text-decoration: underline;
    }

    But my links are still black when followed. Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Dawn Ogden

    (@dawn-ogden)

    Bump. Please help!

    Thread Starter Dawn Ogden

    (@dawn-ogden)

    I found out how to do it. In case anybody needs it, add this to the end of the code.

    .post a {
      color: #1574a5;
      text-decoration: none;
    }
    .post a:visited {
      color: #74a415;
      text-decoration: none;
    }

    That makes all the links blue, except the ones that have been visited, which are green.

    I’ve been trying this all morning, and I keep getting the same black, underlined links in my blog posts! When you say “add this to the end of the code”, can you tell me exactly where to add it? I just want the hyperlinks in my posts to be blue, not black and underlined as they are currently. Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hyperlink color in Pilcrow theme’ is closed to new replies.