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

WordPress WordPress Theme Development Working with CSS and JS in WordPress Themes Adding CSS to a Theme Via the functions.php File

Jeffrey Cunningham
Jeffrey Cunningham
5,592 Points

foundation.css or foundations.css?

On line 5 of the functions.php file that zack is working on, I believe there is a typo. He has

wp_enqueue_stlye( 'foundation_css', get_template_directory_uri() . '/css/foundations.css' );

However, the foundation.css file that we are referring to came named as foundation.css not foundations.css. Is this a typo or should I be including a s on the end of this for some reason?

2 Answers

This is most definitely a typo, usually in a later video Zac will come back and correct it and explain his error :)

Jonathan Walz
Jonathan Walz
21,429 Points

Well foundation is a framework who's included stylesheets are foundation.css so my guess would be to leave out the s, if that is the framework it is referencing. Then, of course, if it doesn't work you could always put it back?