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.

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

My colors are not changing

Hello, I have followed Nick's code for changing the colors in CSS in Stage 6, but when I bring up my page, the header colors do not change as in the video. I cannot figure what i am doing wrong. Please help Thank You

3 Answers

Samuel Webb
Samuel Webb
25,369 Points

The best way to ask a question is to post your code so we can see what you may be doing wrong. The link below the 'Add an Answer' box called 'Markdown Cheatsheet' should help you with posting your code.

Samuel Webb
Samuel Webb
25,369 Points

I'm assuming you have some sort of formatting issue if you can't get the colors to show correctly. Make sure you don't forget your colons, hashes, semicolons and curly braces. Code should look like:

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

h1, h2 {
    color: #fff;
}

Thank you Samuel. I went back and looked at my code and found that I had forgotten to add a curly brace to close logo I will be more careful in future and also will add my code. Erle