Menu Link is not working. I am unable to click on menu item. When I placed the link inside the body that time works fine but when I put over the background header image, it's not working. Many Thanks in advance.
<div class="item bg" style="background-image: url('img/1.jpg');">
<div class="topnav1">
<a><img src="img/logo.png" style='height: 150px; width: 120px; object-fit: contain'></a>
</div>
<div class="topnav" id="myTopnav">
<a href="#contact">Contact</a>
<a href="#about" class="active">About</a>
<a href="#services">Services</a>
<a href="#portfolio">Portfolio</a>
<a href="#team">Founder Desk</a>
<a href="#home">Home</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
Thanks