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!
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

rosinapissaco
13,401 PointsWhy some WordPress Themes have a style.css file with no styles (only with the meta required code)?
Hello,
I would like to know why some WordPress Themes have a style.css file with no styles (only with the meta required code)? and they have all the styles inside a css folder.
Something like this: style.css >>> with the meta required code css/styles.css >>> with all the styles
2 Answers

Casey Ydenberg
15,622 PointsWordPress requires that meta info at the beginning of style.css file located in the main template folder. When you have multiple stylesheets however it just become easier to keep them all in a separate css folder and just use the main style.css to placate the WordPress Beast.

rosinapissaco
13,401 PointsSo, organization is the main purpose of this practise?
Thanks!

Zac Gordon
Treehouse Guest TeacherCorrect. Some people choose to follow their own or other framework asset organization practices rather than load it all in the style.css.