I am editing style.css of wordpress
and i want to display a hyperlink with white color i-e
<a class="viewall" href="/">View All</a>
.viewall {
color: #ffffff;
}
But its still showing hyperlink with black color, as it is inheriting from above css defined..
How to overcome this ?
You need to include style for “visited” as well.
More Reading — includes styling unvisited, visited, hover, and active links.