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

CSS How to Make a Website Adding Pages to a Website Add Iconography

Jamie Bennett
Jamie Bennett
591 Points

Why 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
Tim Knight
28,888 Points

Jamie, 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.

http://codepen.io/timknight/pen/PwxqLg

Jamie Bennett
Jamie Bennett
591 Points

Figured it out from your codepen. Thanks! I didn't have a dash between contact and info.

Tim Knight
Tim Knight
28,888 Points

Great to hear Jamie, I'm glad that helped.

You may need to include the ul after the class.

I 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
Jamie Bennett
591 Points

I figured it out. I didn't have a dash between contact and info in my html. Thanks for your help.