Forums

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?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #177431
    hmider
    Participant

    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

    #177432
    Paulie_D
    Member

    The active class is only defined below 768px in your media query…so you need to move it.

    http://jsfiddle.net/N7Jfh/3/

    #177530
    hmider
    Participant

    You are a genius :) Thanks it worked.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.