This is the css for setting the color for h1 text that is linked:
.nav-left h1 a, a:visited{
color:#055830;
}
<div class="nav-left">
<h1><a href="/index.php/housing/">Housing</a></h1>
</div>
It does not look like it is working appropriately, any help is appreciated.
From stackoverflow
Brad
-
What about:
.nav-left h1 a:visited{ color:#055830; }
From Gamecat -
.nav-left h1 a { color: #055830; }
You don't need to add a:visited if it is the same color.
From hal10001 -
If you want them the same, you must be specific:
.nav-left h1 a, a:visited
is not the same as:
.nav-left h1 a, .nav-left h1 a:visited
From Traingamer -
if you want the colour to be the same for unvisited links you'll need to add a specific selector for that as well
.nav-left h1 a:link, .nav-left h1 a:visited { color:#055830; }
allesklar : I think this is the best answer. It seems to better answer the question.From closetgeekshow
0 comments:
Post a Comment