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

Victoria Sanders
PLUS
Victoria Sanders
Courses Plus Student 2,031 Points

Editing child themes with css problems

Hello, I'm using the Phogra theme for my site, and created a child theme to edit some css. The theme files contain a style.css file, as well as a css folder which has more in it. I've tried importing different files/folders to my child theme, but nothing I do is changing the appearance of my site. I know someone else asked a similar question, but I couldn't solve my problem based on the available answers.

2 Answers

Davy Wong
Davy Wong
25,470 Points

You can figure out which CSS file is being used by opening up your browser's DevTools. Just inspect an element you know you changed recently and hover over the name of the CSS file (style.css in your case) in the right section of the DevTools and you'll see the full path for the CSS file, which should indicate which theme's CSS file is being used.

If you're using a caching plugin, you should clear it to see new changes.

Victoria Sanders
PLUS
Victoria Sanders
Courses Plus Student 2,031 Points

Thanks for your help! The site is hosted on my servers, so all I needed to do was change Cloudflare settings to development.