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

WordPress From Bootstrap to WordPress Add Bootstrap Components to WordPress Theme From Bootstrap to WordPress Outro

Juliette Tworsey
.a{fill-rule:evenodd;}techdegree seal-36
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,425 Points

Bootstrap to Wordpress Child Theme


I am trying to generate a child theme and WP tells me that my parent theme is missing...

This is what I have in my Bootstrap to Wordpress child style.css:

/* Theme Name: Bootstrap to Wordpress Child Theme Description: A demo child theme for the Bootstrap to Wordpress Author: zgordon Version: 1.0 Template: Bootstrap to Wordpress


@import url('../bootstrap-to-wpp/style.css');

I can't understand why it's not working...

Can anyone point me in the right direction?


2 Answers

Shai Yahav
Shai Yahav
7,153 Points

try Template: bootstrap-to-wpp This is what you wrote in the @import url so I guess that bootstrap-to-wpp is your parent tamplate name

Shai Yahav
Shai Yahav
7,153 Points

Make sure you wrote the template name exactly the same as it is under wp-content/themes/