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 How to Make a Website with WordPress Customizing WordPress Themes Customizing WordPress Theme Files

Froi Nunez
Froi Nunez
12,133 Points

Child theme's css not showing

I've tried troubleshooting the issue, and uploading to the server multiple times but the child theme's new css isn't showing. What further steps can I take to solve this? .. I was able to upload the page.php and remove the comment box, I'm not sure what's going on with the css.

Tim Holley
Tim Holley
8,464 Points

is your css named properly? When working with Child themes, wordpress will look for style.css in the main theme folder to override parent styles.

Froi Nunez
Froi Nunez
12,133 Points

It's named style.css and this file lives under the child theme folder. I'm not sure why it's still referencing the parent's styles.

1 Answer

karennh
karennh
4,925 Points

You need to enqueue the child theme's stylesheet - see https://codex.wordpress.org/Child_Themes.