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 trialNathan McNiece
8,590 PointsHow to create a style.css for child theme?
I have created a folder twentythirteen-child in the themes folder however I am unsure how to create or where to copy a style css sheet from.
1 Answer
Hugo Paz
15,622 PointsHi Nathan,
Inside your child theme folder, create a style.css file.
Then add this code inside, remember to set the details correctly.
/*
Theme Name: Theme name
Description: Theme Description
Author: The Author
Template: Parent theme name - twentythirteen in your case
Version: 1.0.0
Tags:
Text Domain: name of the folder
*/
@import url("../twentythirteen/style.css");
/* =Theme customization starts here
-------------------------------------------------------------- */