a:visited not working

  • Unknown's avatar

    Hello,

    I was tasked with managing my company’s information site for the employees that work here, and the links will not change color after being visited even though it’s listed in the css:

    html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    }

    body,
    button,
    input,
    select,
    textarea {
    color: #2b2b2b;
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    }

    body {
    background: #f5f5f5;
    }

    a {
    color: #009900;
    text-decoration: none;
    }

    a:focus {
    outline: thin dotted;
    }

    a:hover,
    a:active {
    outline: 0;
    }

    a:active,
    a:hover {
    color: dodgerblue;
    }//was color: #41a62a

    *a:visited {color: cadetblue;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    clear: both;
    font-weight: 700;
    margin: 36px 0 12px;
    }

    I’m not a master of css code. I can provide any information needed to assist:

    Theme: Twenty Fourteen version 2.0

  • Unknown's avatar

    The site linked to your username has been deleted. You failed to post the exact URL of the site you refer to. To save you time you can type the actual URL of the site you are referring to into http://whoishostingthis.com to determine who hosts the site(s) so you know where to post for support.

    We do not provide support for local installs of WordPress.ORG software, or for WordPress.ORG software installs on paid hosting, linked to WordPress.COM accounts with the Jetpack plugin so they display on the My Sites WordPress.COM account page.

    However, about 30% of those who post here every day are posting to the wrong support forum and must be redirected to the correct support forum.

    WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/

    The wordpress.ORG support forum is at http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/
    WordPress.org support docs are at https://codex.wordpress.org/Main_Page
    See also https://apps.wordpress.org/support/ for app support.

    Jetpack support
    Some Jetpack solutions are here http://jetpack.com/support/
    Others are in the Jetpack support forum at WordPress.org
    http://wordpress.org/support/plugin/jetpack
    However, if help cannot be found at either one then they can file a Jetpack support ticket here > http://en.support.wordpress.com/contact/?jetpack=needs-service

  • Unknown's avatar

    Hi @, I took a quick look at the Twenty Fourteen demo site and the following custom CSS sets a visited color for all links.

    a:visited {
      color: yellow;
    }

    There is a dedicated Twenty Fourteen Theme Support Page where you can post questions on your self-hosted WordPress installation.

  • The topic ‘a:visited not working’ is closed to new replies.