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

Katherine Elsken
Katherine Elsken
2,330 Points

Adding custom Stylesheets in Genesis Child themes

I have some extra style sheets that I'd like to incorporate into my child theme. but when I use the enqueue style method, the style sheet's url's are comming out wrong in the source. instead of the path being "themes/child-theme/style.css" it comes out with "themes/parent-theme/style.css"

What do I do???

1 Answer

They say you shouldn't need to because updates are always to the framework and not the child theme. (Sort of why child themes were implemented.) However, here are a couple tutorials if you still prefer doing it that way, and apparently there are a few reasons for it.

I should've have worded that differently, but yes, the framework would update more often. Most times when a child theme updates, there are only minor changes to fix small bugs or add features. If you add your custom CSS to the end of the file, you could simply add it again after an update since the cascade will always render what's last in your CSS file.