One of the issues I am facing with my website is related to the css menu. The dropdown items are visible, but when attempting to click on them, the dropdown closes immediately. Interestingly, the navigation functions properly on JSFiddle here.
However, this problem persists both locally and when the site is deployed here.
The HTML code for the menu is as follows:
<div>
<ul id="menu">
<li><a href="/">Home</a></li>
.....
and here is a snippet of the CSS:
body, ul, li {
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
line-height:21px;
text-align:left;
}
.....
It is important to note that the menu does not rely on JQuery or any other scripts.