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 trialtamar kavalerchik
73 Pointshi, i couldnt pass the style.css well to my new child template. from where i need to copy it? thanx:)
i wasnt sure from where to copy the file style.css. i tried from the thirteen template that was already exist in my download directory, so the sample that you display wasnt the same of mine.
3 Answers
Rich Bagley
25,869 PointsHi Tamar,
You only need to create style.css for your child theme but don't need to copy one from the parent theme.
This information from the Codex contains examples (3rd code block under the How to Create a Child Theme heading specifically).
Hope that helps :)
-Rich
tamar kavalerchik
73 Pointsthanx!! it helped:)
Rich Bagley
25,869 PointsNo problem :)
-Rich
Saskia Lund
5,673 PointsSee my comment, pls. Sorry for adding a comment instead of an answer. I am new to this forum ;)
tamar kavalerchik
73 Pointsthank u very much Saskia. ill try it! :)
Saskia Lund
5,673 PointsSaskia Lund
5,673 PointsYou can simply create a new file in your child theme directory called style.css
Now open that file and place the following code at the very top of the file. Please insert your needed values according to the used parent theme:
Hope this helped.
Saskia