bootstrap navbar change active li background color manually
<p>So I have bootstrap navbar which is fixed and have body padding-top: 50px;
so far so good but the bootstrap.js and .css files make clicked li background color to be white and i want it to be black i guess the default is white.So i tried to manually change background-color property of the .active class</p>

<p>HTML:</p>

<pre><code>&lt;header&gt;
&lt;nav class="navbar navbar-fixed-top"&gt;
    &lt;div class="container"&gt;
        &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt; 
        &lt;/button&gt;
        &lt;a class="navbar-brand" href="#"&gt;&lt;img id="logo-img" src="images/logo.png" alt="logo"&gt;&lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="collapse navbar-collapse" id="myNavbar"&gt;
        &lt;ul class="nav navbar-nav"&gt;
            &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt; Search&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-home"&gt;&lt;/span&gt; Sales&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="nav navbar-nav navbar-right"&gt;
            &lt;li&gt;&lt;a href="#"&gt;&lt;span class="fa fa-cogs"&gt;&lt;/span&gt; Services&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-comment"&gt;&lt;/span&gt; Contact&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-link"&gt;&lt;/span&gt; About Us&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/nav&gt;
&lt;/header&gt;
</code></pre>

<p>in custom CSS i have but nothing happens it does not change from white to black:</p>

<pre><code>.active {
    background-color: black !important;
}
</code></pre>