title: Changing the colour of a glyphicon using CSS in the collapsed navbar component
body: <p>I am having an issue on the following website: <a href="http://www.bestdiscointown.co.uk/" rel="nofollow noreferrer">http://www.bestdiscointown.co.uk/</a></p>
  
  <p>In order to view the issue please resize the website vertically so that the small collapsed navbar appears. </p>
  
  <p>In the HTML that forms the small button component in the navbar on mobile viewports there are 3 <code>&lt;span&gt;</code> elements with the class <code>.icon-bar</code>. I am trying to style the hover and focus states with CSS in order so that the colour of the bar icons are blue.</p>
  
  <pre><code>   &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&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;Brand&lt;/a&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Bootstrap sets a default colour value of:</p>
  
  <pre><code>.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #FFFFFF;
  }
  </code></pre>
  
  <p>I dont understand why my CSS rule isn't styling the focus and active states for the bar icons to be blue as shown below, it could possibly be a CSS specificity issue:</p>
  
  <pre><code>.navbar-inverse .navbar-toggle .icon-bar:hover, .navbar-inverse .navbar-toggle .icon-bar:focus {
    color: #5979CD;
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/IvCH7.jpg" alt="enter image description here"></p>