This great answer mentioned how giving an ID is a good way to override existing class elements when you still want some styling from said class. For example, below I have the following:
<ul class="nav navbar-nav navbar-right" id="ft-nav-text">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
</ul>
I want to change some of the properties of the text, like color.
#ft-nav-text {
font-size: 18px;
font-family: "Myriad Pro";
color: blue;
}
Yet the text will not change to blue unless I delete the navbar-nav
class, which I still want some styling from. I don't want to hack away at the main Bootstrap file.