visited link color adelle theme

  • Unknown's avatar

    Hi WordPress!

    I’ve edited the CSS to make the links in my blog yellow with a black hover color. However, I just noticed they turn pink after being visited. How can I change the visited link color on the Adelle theme please?

    Thank you!

  • Hi there, the basic code for visited links is

    a:visited

    Depending exactly which links you’d like to change, you can adjust the code accordingly.

    For example, if it’s these:

    .entry-meta a:hover, .entry-content a:hover {
    	color: #000000;
    }

    You can add this:

    .entry-meta a:visited, .entry-content a:visited {
    	color: #xxxxxx;
    }

    Just change xxxxxx to whatever hex colour you’d like.

    Keep in mind that when declaring link colours to override the defaults, follow the LoVe-HAte order so the colours will be displays as expected. That means you need to define links in this order: link, visited, hover, active.

    If you need further CSS help, please feel free to post in our CSS Customization forum.

  • The topic ‘visited link color adelle theme’ is closed to new replies.