Link colors

  • Unknown's avatar

    Hi there,

    Can anyone help me fix this CSS?

    a, a:link {
    	color: #54565b;
    	text-decoration: none ;
    }
    
    a, a:hover {
    	color: #f0a055;
    }

    The first part with the link works until the hover part is added, then it just changes to the hover color. There are some links on the page edited separately and work fine but the ones that this should work for are on the Products & Advice page and the log in page. Not sure what I’m doing wrong, help!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello there,

    The first part is fine, as for the second part, you are selecting the a tag again and since it comes after the first part it thinks that is what you want. To fix that the second part should be something like this:

    a:link:hover, a:hover {
    	color: #f0a055;
    }

    Hope that helps!
    Sage

  • The topic ‘Link colors’ is closed to new replies.