Having trouble overriding some of Bootstrap's navbar classes. I've tried using !important, but would prefer to avoid it if possible.
This is the HTML I'm working with:
<nav class="navbar navbar-default" role="navigation">
<ul class="navbar navbar-nav">
<li><a>Actions</a></li>
<li><a>Profile</a></li>
<li><a>Kingdom</a></li>
<li><a>Inventory</a></li>
<li><a>Alliance</a></li>
<li><a>Mail Box</a></li>
<li><a href="user/logout">Logout</a></li>
</ul>
</nav>
CSS attempts that didn't work:
.navbar.navbar-nav li a {
color: lightgray;
}
.navbar.navbar-nav > li > a {
color: lightgray;
}
This one worked, even though I'd rather not use !important:
.navbar-nav li a {
color: lightgray !important;
}
EDIT: CSS calling
<title># - KoG</title>
<link rel="stylesheet" type="text/css" href="../components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../styles/game/default.css">
</head>