0

How to make head of dropdown link clickable in navbar?

My navbar is this, i searched a lot and tried stuff but i can't find a solution. Can anyone help? <nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top"> <div class="container"> <a class="navbar-brand" href="#"> <img src="1.png" width=100px; alt=""> </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarResponsive"> <ul class="navbar-nav ml-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span> </a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle " href="#" id="navbardrop" data-toggle="dropdown"> About Us </a> <div class="dropdown-menu"> <a class="dropdown-item" href="whoweare.html">Who we are</a> <a class="dropdown-item" href="programs.html">Programs</a> <a class="dropdown-item" href="meetus.html">Meet Us</a> <a class="dropdown-item" href="gallery.html">Our Gallery</a> </div> </li> <li class="nav-item"> <a class="nav-link" href="events.html">Events</a> </li> <li class="nav-item"> <a class="nav-link" href="donate.html">Donate</a> </li> <li class="nav-item"> <a class="nav-link" href="contact.html">Contact Us</a> </li> </ul> </div> </div> </nav><br>

10th Dec 2019, 10:52 AM
Fay Stam
Fay Stam - avatar
2 ответов
0
Are you using some CSS framework or have your own custom CSS definition? cause I see you use a lot of classes which are nowhere defined in the snippet.
10th Dec 2019, 11:06 AM
Ipang
0
I use Bootstrap framework if i understand right the question
10th Dec 2019, 11:39 AM
Fay Stam
Fay Stam - avatar