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 trialJamie Bennett
591 PointsWhy do I still have bullets after I changed the list-style to none?
I added the following code in css and the bullets next to the phone, email and twitter did not go away.
.contact-info { list-style: none; padding: 0; margin: 0; font-size: 0.9em; }
3 Answers
Tim Knight
28,888 PointsJamie, would you mind posting your HTML too?
Check out this small codepen I put together with your CSS and it's removing the bullets correctly.
Chris Wiley
11,327 PointsYou may need to include the ul after the class.
Chris Wiley
11,327 PointsI don't see the contact-info class assigned in your html. just the .selected class assigned to your Portfolio nav li. That needs to happen for class assignments in CSS to work.
Jamie Bennett
591 PointsI figured it out. I didn't have a dash between contact and info in my html. Thanks for your help.
Jamie Bennett
591 PointsJamie Bennett
591 PointsFigured it out from your codepen. Thanks! I didn't have a dash between contact and info.
Tim Knight
28,888 PointsTim Knight
28,888 PointsGreat to hear Jamie, I'm glad that helped.