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

Child does not override Parent? Why?

Made changes to style.css, uploaded style.css using FileZilla but no colour change of navigation bar on website. What could I possibly be doing wrong?

Hugo Paz
Hugo Paz
15,622 Points

Hi Raqibul,

If you are using a child theme and are trying overriding the styles with it, the issue might be css specificity.

Here is some documentation on it https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

Please post your code so we can have a better understanding of the issue.

1 Answer

Figured this out, clearing the browsing history and cache helped solve the problem!!

Thanks anyway!!