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

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,370 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,370 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