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

General Discussion

Damian McCartney
Damian McCartney
4,067 Points

How to make a child theme issue..

Hi,

I have watched the video on 'How To Make a Child Theme' followed the instructions and uploaded to the themes folder. When i then go into add the child theme it's not there.

Anyone know what's causing this? It's probably something simple..

2 Answers

belindamustoe
belindamustoe
5,912 Points

Hi Damian,

  • Have you put the the child theme & parent theme name in the style.css file? e.g.

/* Theme Name: Child Theme Name

Template: Parent Theme Name */

(don't forget to put it in comments)

  • Is the parent theme also in the themes folder? It needs to be or it won't work :-)
Damian McCartney
Damian McCartney
4,067 Points

I didn't have the parent theme name in correctly.

Thank you very much Belinda.

You help has been very much appreciated..