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 WordPress Theme Development The WordPress Loop Adding the Loop to the index.php File

Styles still not applying?

I did the exact same steps as in the previous videos (of this course) and this video, and my styles are still not updated. Thus, my website still look pretty much like on the first minutes of the related video. What can be wrong with my code?

I uploaded the code here http://pastebin.com/HHj8D27t because if I add it directly here it will destroy the whole website (probably a bug).

Open your web developer tools (Cmd-Opt-I on Mac, Ctrl-Alt-I on Windows) and tell me if any errors show up. If there are any, describe them for me.

5 Answers

Anybody?

Any code?

Added.

Added.

Amy Kang
Amy Kang
17,188 Points

I looked at the error messages in the developer console and found the errors:

Failed to load resource: the server responded with a status of 403 (Forbidden)

Basically, it's a permissions issue. Something I keep running into since I started learning wordpress.

While in the themes folder I entered chmod -R 775 treehouse-portfolio/ Now the css styles show up but the Javascript is still not being applied properly.

Update:

It's the not the JS that was the problem, it was the fact I didn't copy paste the entire css document to style.css that was the problem. Now it's working.

Michell Cardona
Michell Cardona
414 Points

I appear to have the same issue as posted by Amy above except that I copy pasted the css from the style.css from assets and have updated my permission settings accordingly but it is not looking the as per the video. Could it be the version of wp 2017 that is causing this?