The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Why bootrstrap 3 active class not working?
Hi,
I have a menu built using bootstrap 3.Please see below.
http://jsfiddle.net/N7Jfh/2/
I need to show active menu item as highlighted.But “active” class is not working and menu item doesn’t show as active one.
Ex: I want to highlight this menu
menu1<b class=”caret”></b>
Is anything missing my my code?
Thanks
The active class is only defined below 768px in your media query…so you need to move it.
http://jsfiddle.net/N7Jfh/3/
You are a genius :) Thanks it worked.