Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.