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

WordPress How to Make a Website with WordPress Customizing WordPress Themes Customizing WordPress Theme Files

Michel Frechette
Michel Frechette
10,551 Points

not getting the expected results

updated style.css

@import "../twentythirteen/style.css";

.navbar { background-color: #220e10; }

.nav-menu li a { color: #fff; }

About is color: #bc360; font-style: italic should be color: #fff;

What is you theory?

So, you're trying to work on a child theme for WordPress's default Twenty Thirteen theme, and you're trying to change the color of the links in the navigation. That second CSS rule that you set should change the color to white, but it's not for some reason.

First off, the About link does not have a valid hex color value. The format is either #fff with three characters (excluding the hashtag) or #ffffff with six characters (excluding the hashtag again). Yours is only five characters. Are you sure you copied it correctly?

Also, is the first rule working? Is the background color of .navbar actually #220e10, and can you see it in your browser?

1 Answer

Michel Frechette
Michel Frechette
10,551 Points

The color: #bc360a; is the color that shows up instead of the color white, like is it supposed to. My code is correct. I am wondering if the theme has been changed.