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

After adding jQuery plugin the visited links are having different text-decoration no matter what. Help pls :)

Hello dear Community members,

I would kindly ask for some help... again.

I am working on my first bigger projects - or at least it is big for me - and I am stuck. I don't know too much about jQuery, couldn't cover it yet, but since I want my website to look fancy I've added some extra, pre-written code. Not too much though, just a stick header and a feature, that makes links to the same site scroll down instead of just jumping there.

But my nicely decorated <li> elements are getting a blue colored and underlined when visited, even though I have set them to grey, and no text-decoration. In the CSS there is a section /LINKS/ just for the anchor settings.

the Codepen project site (you can change view to see my code)

and the smotth scrolling jquery link

Please let me know, if you've got any ideas how to solve the problem. It is not a major issue, but if I do something, I want to do it right :)

1 Answer

Hi, I have an answer but I am not sure about it, I think you have used _reboot.scss. Is it? If yes then it is rewriting your styles. I really don't know how to prevent it from doing so, I think you should find a way out because I haven't studied scss well(just started it). I just used chrome dev tools to find this issue. If its not the real issue try to use dev tools to find out what is really going on.!