I've been struggling to create a dropdown menu for my Wordpress theme and have encountered an issue that I can't seem to resolve even after spending more than 3 hours trying.
Everything is working fine except when I hover over the second level dropdown list, the parent (1st dropdown) gets highlighted with the main parent highlight class.
I'm also looking for a jQuery script that can be integrated with my existing CSS and Wordpress menu where an arrow on the parent link will automatically appear when there's a sub-menu. A fade-in effect would be a nice touch but it's not a major concern.
Please refer to the attached image for visual reference of the issue.
I'm also including the CSS and HTML code below:
/* Your CSS code goes here */
And here is the HTML code snippet:
<nav role="navigation" class="horiz-list clearfix" id="main-nav">
<div class="clearfix" id="nav-group">
// The rest of your HTML code goes here...
</div>
</nav>