Hey all, new here –
I’m trying to change the link color on my website theme, for which I have no access to the actual html or css. All I have the ability to do is inject some custom CSS to change styles.
I’ve added my code and for some reason everything is working except for the first a:link color – the links stay blue until they are hovered over. The a:visited, a:hover and a:active color changes are all working. Anyone know why that might be???
I’m using the following code:
<style>
a:link {
color: #545453;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: #545453;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: #E5BE1C;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: #545453;
background-color: transparent;
text-decoration: underline;
}
</style>