Home Forums Fusion mobile Menue close on id class link

This topic contains 6 replies, has 2 voices, and was last updated by  Joshua 7 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #47308

    schneiders
    Participant

    Hello!

    The mobile menue won’t work as it should with id classes – links (jump to point on a page without reloading).
    Can you help out?

    #47316

    Joshua
    Keymaster

    Sure, could you post a link to your page? And how are your links formatted?

    #47325

    schneiders
    Participant
    This reply has been marked as private.
    #47326

    schneiders
    Participant

    Link structure is website/#PRODUCT

    #47327

    Joshua
    Keymaster

    I think the links work (it scrolls to the section on the page), but the menu is just not closing after being clicked- does that sound right?

    If that’s the case, here’s a quick fix for this – http://themeluxe.com/support/topic/menu-bar-doesnt-hide-when-i-click-on-a-link-that-links-to-an-id-in-same-page/#post-47235

    #47328

    schneiders
    Participant

    Yes problem is the closing after click!
    also with the added JS it doesn’t work – probably wrong class?

    #47332

    Joshua
    Keymaster

    I think the class is okay. I just tested manually adding it on your page and it worked, but it seems there may be something else preventing it from firing. Can you try the following instead? This might prevent whatever’s blocking it.

    jQuery(document).ready(function(){
      jQuery('.dropdown-menu a').click(function(){ jQuery('body').removeClass('navbar-active'); } );
    });
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.