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

PHP How to Build a WordPress Theme Extending WordPress Template Functionality Adding Widgets to Our Footer

Martin Laskowski
Martin Laskowski
3,736 Points

CSS tags containing 'treehouse' should be 'wptreehouse' ...

Hi Team,

I'm absolutely loving this .. Zac Gordon is a boss! A small correction: in the video Zac has us add the following to 'styles.css' ...

li.treehouse-badge { width: 60px; } ul.treehouse-badges { padding: 0; } .treehouse-badges, .treehouse-badge-info { bottom: 90px !important; left: -42px !important; }

... but this code has no effect on the appearance of our new Treehouse Badges because as 'Inspect Element' reveals, their names all have a 'wp' prefix. The working code should look like this:

li.wptreehouse-badge { width: 60px; } ul.wptreehouse-badges { padding: 0; } .wptreehouse-badges, .wptreehouse-badge-info { bottom: 90px !important; left: -42px !important; }

Peace!

Martin