On my website, I have a simple navigation bar located at the top with just two links. However, when the view switches to mobile (tablet and/or smartphone), these links disappear and are replaced by a "hamburger" menu icon. The issue arises when I click on this icon, nothing happens. I want both of my links to be visible when I click on the menu icon.
https://i.sstatic.net/PmTGT.png https://i.sstatic.net/v6gvI.png
/* Registration Navbar */
.registration-navbar {
background-color: #8ABE57;
height: 45px;
}
.registration-navbar ul li a {
color: #ffffff;
font-size: 0.8em;
}
.registration-navbar ul li a:hover {
color: #31353D;
}
.navbar-dark,
.navbar-toggler {
border: none;
color: rgba(255, 255, 255, 0);
}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<nav class="navbar navbar-expand-lg navbar-dark registration-navbar">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse my-auto" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Mi Cuenta</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#">Registrarme</a>
</li>
</ul>
</div>
</nav>