mardi 4 août 2015

Navbar collapse at 992 without dropdown menu

I changed bootstrap's navbar collapse at 992px breakpoint but it still show me dropdown menu

http://ift.tt/1M8DLSx

using this standard css code

@media (max-width: 991px) {
    header nav.navbar-main.clearfix {
        background-color: transparent;
    }

    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        background-color: white;
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

but i wanna do like this

http://ift.tt/1M8Tgtu

How can i do?

(I'm sorry for the external link but i dont have enought reputation to link an image)

Aucun commentaire:

Enregistrer un commentaire