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.

General Discussion

Robert Downey
Robert Downey
5,414 Points

CSS not found only when I make the site live.

If I just open the HTML file in a browser it reflects the CSS. When I make the site live, it says it cannot find the css. Not sure what the issue is, help please.

Ethan Rivas
Ethan Rivas
9,979 Points

Can you update your post with your html code please :)?

Alexandre Babeanu
Alexandre Babeanu
10,946 Points

sounds like you have to update the url to your stylesheet in your html

1 Answer

Robert Downey
Robert Downey
5,414 Points

Disregard, I fixed it. When uploading the files to the hosting site I didnt have the css in a separate folder. I moved the CSS over into is own folder on there and now it works.