Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.