tags:

views:

1221

answers:

4

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.

+5  A: 

What about:

.nav-left h1 a:visited{
    color:#055830;
}
Gamecat
+2  A: 
.nav-left h1 a {
    color: #055830;
}

You don't need to add a:visited if it is the same color.

hal10001
+4  A: 

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

Traingamer
+3  A: 

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;
}
closetgeekshow
I think this is the best answer. It seems to better answer the question.
allesklar