I'm having an issue with the Menu Link not working. I can click on the menu item when it's placed inside the body, but when I try to place it over the background header image, it stops working. Any help would be greatly appreciated.
<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>
Appreciate any assistance!