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 How to Make a Website with WordPress Customizing WordPress Themes How to Make Child Themes

tzehuilee
tzehuilee
19,911 Points

Child theme's video may need update?

I noticed using @import to create child's theme doesn't work well in current version of WordPress. I'm wondering when will a new updated video that shows creating child theme by adding 'enqueue' features.

It is still working fine for me.I'm using that line: @import "../twentythirteen/style.css"; Make sure that you have quotes and semicolon at the end :)

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi! Yes, we're working on the redo for this course with a couple things (like the one you mentioned) updated to better practices. Basically at the time we were trying to help students avoid having to link to files via the functions.php file, but that is probably the direction we will go in the future.