3
I have a Nav bar that I need to put your content in the center of the screen, I’ve tried several codes but it always stays to the left, follow my current code
<nav class="navbar navbar-inverse navbar-fixed-top justify-content-center" style="background-color: #e7ebd5;">
<div class="container">
<div class="navbar-header">
<div class="row justify-content-center">
<div id="ImagemLogo">
<img src="~/images/TerraVerdeLogo.png" class="img-responsive">
</div>
</div>
<a asp-area="" asp-controller="Home" style="color:#ffffff ; font-size:15px;text-align:center" asp-action="Index" class="navbar-brand">Home</a>
<a asp-area="" asp-controller="Loja" style="color:#ffffff; font-size:15px;" asp-action="Index" class="navbar-brand">Loja</a>
<a asp-area="" asp-controller="Home" style="color:#ffffff; font-size:15px;" asp-action="LoginCliente" class="navbar-brand">Login/Cadastro de Clientes</a>
</div>
@inject IHttpContextAccessor HttpContextAccessor
<div id="NomeUsuarioLogado"></div>
@inject IHttpContextAccessor HttpContextAccessor
<div id="NomeClienteLogado"></div>
</div>
</nav>