I currently have this piece of html which represents the relevant part of my navbar:
<nav class="navbar navbar-inverse" role="navigation">
<div class="container">
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> About</a></li>
<li><a href="#"><span class="glyphicon glyphicon-earphone"></span> Contact</a></li>
<li><a href="#"><span class="glyphicon glyphicon-briefcase"></span> Portfolio</a></li>
<li><a href="#"><span class="glyphicon glyphicon-list-alt"></span> Résumé</a></li>
</ul>
</div>
</nav>
And I have this piece of css which I was hoping to use to change the text color of the navbar:
.nav.navbar-nav.navbar-right {
color: blue;
}
The only problem is that the text color remains unchanged. I also saw that a very similar question went unsolved. I bet whoever can solve this one can solve the other too.
.nav.navbar-nav.navbar-right li a
? Or you could style each individual a tag with the font-color by giving it a class. – Stickleback