Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website Customizing Colors and Fonts Use Color in CSS

Jackie Duffy
Jackie Duffy
354 Points

Nav elements are not changing to white.

I have followed along entering the CSS but the text in my nav is not changing to white. I double checked it and don't see anything missing.

4 Answers

I THINK I spotted the problem. Your nav a:visited is misspelled.

Kate Hoferkamp
Kate Hoferkamp
5,205 Points

Can you post the CSS you used?

Jackie Duffy
Jackie Duffy
354 Points

Kate, Here is the CSS -

a { text-decoration: none; }

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5%; }

logo {

text-align: center; margin: 0; }

a { color: #6ab47b; }

header { background: #6ab47b; border-color: #599a68; }

h1, h2 { color: #fff; }

nav { background: #599a68; }

nav a, nav a:visitied { color: #fff; }

nav a.selected, nav a:hover { color: #32673f; }

Jackie Duffy
Jackie Duffy
354 Points

Thank you Sau. I can't believe I didn't see that. I knew it had to be something simple like that.