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 Responsive Web Design and Testing Adjust the Profile Page and Header

My Nav buttons don't highlight when selected?

My Nav buttons don't highlight when selected?

3 Answers

Hey Luke!

Please could you post your code for us to take a look at? It is hard for us to identify the problem without seeing what code you have. If you do not know how to format the code properly in the forums take a look at the 'markdown cheatsheet' below the chat box!

-Luke

''' /hover nav link/ nav a.selected, nav a:hover { color: #000}

/site body/ body { background-color: #eba133; color: #f5f5f5; }

header { background: #eba133; border-color: #500a68 }

nav { background: #888888; }

/logo text/ h1, h2 { color: #f5f5f5; }

/link color/ a { color: #fff; }

/nav link/

nav a, nav a:visited { color: #eba133; font-family: 'Roboto', sans-serif; font-weight: normal; line-height: 0.8em; } '''

Hernan Martin Demczuk
Hernan Martin Demczuk
1,264 Points

You shoul read Markdown Cheatsheet so I can understand better your code. But as far as I can see you missed a semicolon at the end of the color statement inside the a:hover rule.

Tell me if that solved your problem!