Struggling to modify the color of the top navigation bar on a Twitter Bootstrap page using version 2.3.2.
Tried implementing suggestions from this answer without success: Change navbar color in twitter bootstrap 2.0.4
Also attempted the solution provided here: navbar color in Twitter Bootstrap
Have included bootstrap.min.css and bootstrap-responsive.min.css above inline CSS.
The code for the navbar is as follows:
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-targert=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href='#'>Test</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#register">Register</a></li>
<li><a href="#about">About</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">List1<b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header">Title</li>
<li><a href="#">Item1</a></li>
<li><a href="#">Item2</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
Despite trying various solutions, including the latest CSS override for navbar color:
.navbar-inner {
background-color: red; /* background color will be black for all browsers */
background-image: none;
background-repeat: no-repeat;
filter: none;
}
No change in the navbar color has been observed. It remains the default color. Any assistance would be greatly appreciated. Thank you.