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

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
12,612 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