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

Samantha Smith
Samantha Smith
1,668 Points

CSS Styling Hiccup

This may be a quick fix and something that I'm overlooking in my coding, but I have been following the Smells Like Bakin' tutorial and have hit a bump.

The issue is with the styling of the page not responding to the color change command that I placed in my 'style.css' file

In the 'index.html' I have the 'css/normalize.css' then 'grid.css', then the 'Nunito' font like from google then 'style.css' all placed in the head of the html file so the order of the .css files I believe is correct, this is the link structure:

 <link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
</head>

and in the style.css

body { 
           font-family: 'Nunito', sans-serif; 
           color: #FAF3BC;
           }
a { 
     color:#4FB69F;
     text-decoration:none;
}

The only thing that has responded to the styling is the 'font-family' attribute so at least part of my css is responding, does anyone have any ideas?

4 Answers

Samantha Smith
Samantha Smith
1,668 Points

Note I didn't know how to properly format on this thing so my code isn't on one line.

Chase Lee
Chase Lee
29,275 Points

Could you send me your code. Also you can display code by wrapping it in: `

Remember what CSS stands for?

Look at what you're asking to occur with the color?

Trying not to give you the immediate answer but point you in the right direction, so to learn.

Samantha Smith
Samantha Smith
1,668 Points

Oh okay problem solved! I decided instead of just refreshing the page to close out the browser and re-open the index.html file and all the styling now is correct now, thanks!