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 From Bootstrap to WordPress Setup a Bootstrap Theme Adding Ability for Dropdown Navigation

How to get the background color on the sub-menu for the whole and each <li>?

As I get the background color only for the "typed" area so I can't manage to get it for the whole <li> area. Not sure if I was enough clear. For example in this page there is a sub-menu that works as I would like to get: http://www.securityandpolicing.co.uk/. If you mouse over "Visit" and then "Who should attend" the background color of "Who should attend" takes the whole <li> area and it's not just limited to the area that starts from "W" ending to "d". Not sure if I was enough clear what i meant.

Can you show us your code? As long as you target the li (and not the a), it should color correctly.