Is there a way to update the CSS in Bootstrap 4 to customize the color of the navbar?
I'm having issues with my code. Can you take a look at it?
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent">
<div class="container">
<a class="navbar-brand" href="#"><img src="img/logo.png"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02"
aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#" style="color: #1fd0b6;">Fiverr Pro</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link"><span><img
src="https://fiverr-dev-res.cloudinary.com/general_assets/flags/1f1fa-1f1f8.png" style="width: 20px; height: 20px;"></span><span class="p-2">English</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Become a Seller</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Sign In</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
Join
</a>
</li>
</ul>
</div>
</div>
</nav>
Here's the CSS from my code:
* {
margin: 0;
padding: 0;
}
.nav-link {
font-size: 16px;
font-weight: 600;
}
.nav-item {
margin: 2px;
}
Is it possible to change the color using a Bootstrap class?