Before you ask please READ THIS

Top-Level Navigation Anchor Links Inactive

edited July 2014 in Adamant Posts: 7
Hello,

How can I make the top-level navigation anchor links active (clickable) when they have child items in the dropdown?

Comments

  • Posts: 1,758
    Hello Michael,
    thank you very much for this report, this bug will be fixed in upcomming update.

    For now you can fix it by editing scripts.js file located in wp-content/themes/adamant/js/ folder.

    Find this line:
    
    if( jQuery(this).parent().hasClass('scroll-to') && jQuery(this).parent().hasClass('menu-item-has-children') && !jQuery(this).parent().find('.sub-menu, ul.children').hasClass('open') ){
    
    and replace it with this line:
    
    if( jQuery(this).parent().hasClass('scroll-to') && jQuery(this).parent().hasClass('menu-item-has-children') && !jQuery(this).parent().find('.sub-menu, ul.children').hasClass('open') && !jQuery(this).parent().hasClass('hovered') ){
    
    please be careful, and make sure that you've copied whole line.
    Remember to rate our theme if you like it ;)
    All the Best.
  • Posts: 1,758
    Hello,
    FYI - new update is available, top level menu items work as they are supposed to.
    :)
    Remember to rate our theme if you like it ;)
    All the Best.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion