title: Change collapsed navbar color
body: <p>I'd like to know what CSS element must be edited to adjust bootstrap's collapsed navbar. Below is what I believe to be the CSS code of interest:</p>
  
  <pre><code>.navbar-default {
    background-color: #ffffff;
    border-color: #0f4c92;
  }
  .navbar-default .navbar-brand {
    color: #0f4c92;
  }
  .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-text {
    color: #0f4c92;
  }
  .navbar-default .navbar-nav &gt; li &gt; a {
    color: #0f4c92;
  }
  .navbar-default .navbar-nav &gt; li &gt; a:hover, .navbar-default .navbar-nav &gt; li &gt; a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav &gt; .active &gt; a, .navbar-default .navbar-nav &gt; .active &gt; a:hover, .navbar-default .navbar-nav &gt; .active &gt; a:focus {
    color: #ffffff;
    background-color: #0f4c92;
  }
  .navbar-default .navbar-nav &gt; .open &gt; a, .navbar-default .navbar-nav &gt; .open &gt; a:hover, .navbar-default .navbar-nav &gt; .open &gt; a:focus {
    color: #ffffff;
    background-color: #0f4c92;
  }
  .navbar-default .navbar-toggle {
    border-color: #0f4c92;
  }
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #0f4c92;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #0f4c92;
  }
  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    border-color: #0f4c92;
  }
  .navbar-default .navbar-link {
    color: #0f4c92;
  }
  .navbar-default .navbar-link:hover {
    color: #ffffff;
  }
  
  @media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu &gt; li &gt; a {
      color: #0f4c92;
    }
    .navbar-default .navbar-nav .open .dropdown-menu &gt; li &gt; a:hover, .navbar-default .navbar-nav .open .dropdown-menu &gt; li &gt; a:focus {
      color: #ffffff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu &gt; .active &gt; a, .navbar-default .navbar-nav .open .dropdown-menu &gt; .active &gt; a:hover, .navbar-default .navbar-nav .open .dropdown-menu &gt; .active &gt; a:focus {
      color: #ffffff;
      background-color: #0f4c92;
    }
  }
  </code></pre>
  
  <p>Hopefully I've captured the right selectors. Below are screenshots showing the the unselected collapsed nav (<strong>which you can see is what I'm hoping to edit</strong>), and then the selected collapsed nav. Ideally I'd like to make the unselected collapsed nav the same blue color, with 3 white stripes; I don't care if it's the same color scheme when active/selected.</p>
  
  <p><img src="https://i.stack.imgur.com/18rMF.png" alt="Unselected collapsed navbar">
  <img src="https://i.stack.imgur.com/AQcgF.png" alt="Selected collapsed navbar"></p>
  
  <p><b>Edit -- adding the HTML</b></p>
  
  <pre><code>&lt;nav class="navbar navbar-inverse" role="banner"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&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="index.html"&gt;&lt;img src="images/bestgatelogo1.png" alt="logo"&gt;&lt;/a&gt;
                  &lt;/div&gt;
  
                  &lt;div class="collapse navbar-collapse navbar-right"&gt;
                      &lt;ul class="nav navbar-nav"&gt;
                          &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
                          &lt;li class="active"&gt;&lt;a href="about-us.html"&gt;About Us&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="services.html"&gt;Services&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="careers.html"&gt;Careers&lt;/a&gt;&lt;/li&gt; 
                          &lt;li&gt;&lt;a href="contact-us.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;                        
                      &lt;/ul&gt;
                  &lt;/div&gt;
              &lt;/div&gt;&lt;!--/.container--&gt;
          &lt;/nav&gt;&lt;!--/nav--&gt;
  </code></pre>