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.

WordPress How to Make a Website with WordPress Customizing WordPress Themes How to Make Child Themes

Sarah Lowry
Sarah Lowry
398 Points

the css file given to download, what should we know in order to create a child theme on our own ?

if i were to create a child theme from another theme or for a premium one, what attributes in the CSS file are important to know? Should we use the one given as a template and change author name, etc?

2 Answers

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

Yes, you can use the basic comment provided and edit as you need :)

Caroline Hagan
Caroline Hagan
Courses Plus Student 12,453 Points

Wordpress has all the guidance you need : http://codex.wordpress.org/Child_Themes

The main difference in the CSS is you need to reference the parent template, like so:

Template:     twentyfourteen