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 trialSahar Nasiri
7,454 PointsMy layout.css is not applying
I cannot see any changes to my homepage :(. Here is my code:
Sahar Nasiri
7,454 PointsThat couldn't be it, as you can see, my "block content" is named as the class "site_container" and there's a style for this class in layout.css file :(!
1 Answer
Adam Rock
11,970 PointsYou have <div class="site_container">
notice the underscore and in the css file .site-container {
Adam Rock
11,970 PointsAdam Rock
11,970 PointsYou may not have any css rules set up for the tags used in your templates. You could add a css rule to your <h1> or <h2> tags to see if your layout.css is being used.