Search code examples
csstwitter-bootstrapmedia-queries

Overrule bootstrap media query does not work


I'm trying to overrule a css rule of Bootstrap 3..

My custom css:

@media (min-width: 768px)
.navbar-nav > li > a {
    padding-top: 50px;

}

But it wont work..

When I remove the media query, it works, but then it's not responsive anymore...

What's going wrong? :)


Solution

  • @media (min-width: 768px) { <<-- You're missing the opening curly bracket