Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Can´t apply active class to sublinks on my page… Reply To: Can´t apply active class to sublinks on my page…

#199777
css_fan5
Participant

Hi,

I have used the code as a reference but still no luck. I am overlooking something but can’t figure out what. I am using Foundation5 and this is a responsive nav. It seems like the I need to target not navi but top-bar-section as when I added the active class manually to one of the a tags it made no difference. I would really appreciate if you could take a look at my final fiddle here:

http://jsfiddle.net/n47omd7y/

Many Thanks again.