Support » Plugin: ElementsKit Elementor addons » Menu won’t close on mobile and Adding social icons

  • Resolved mor3311

    (@mor3311)


    Hi,
    I got two issues related to the same mobile menu I created via Elementskit:

    1. I would like to add 4 social media and contact icons I’ll upload to the menu. is it possible?

    2. When I navigate on a one pager using anchors, the menu won’t close but the scrolling to the anchor does. How can I fix that?

    Thanks, Mor

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @mor3311 ,

    Please find your answer below –

    1. Only menu items showing in the navigation menu will show in Hamburger menu when you click on it. So, there is no option to add anything else inside it. But you can make a feature request for that. Navigate to plugin’s details page and check the useful links section. Here you will find the link to request your awesome feature.

    2. This is a know issue to us and this issue is only happening to OceanWP theme. Hopefully this menu overlay closing issue will be fixed in our future update.

    Regards,
    Benjir

    Thread Starter mor3311

    (@mor3311)

    Hi, thank you for your answers.
    I resolved the 2nd issue of closing the menu on anchor navigation by adding this jQuery code, if anyone will find it useful:

    jQuery(document).ready(function( $ ){
      $('.ekit-menu-nav-link').click(function() {
        $('.ekit-nav-menu--overlay').removeClass('active');
        $('#ekit-megamenu-main-mobile').removeClass('active');
      })
    });

    Hi @mor3311 ,

    Hope you are doing great !

    I copied the JS above but it’s seems not working..

    Could you have a look to : https://family-law.fr if you have any hints ?

    Thanks a lot !

    Best

    Thread Starter mor3311

    (@mor3311)

    Hi @avantagemediaagency , I looked at your website and each click on the menu re-routes to the page plus the anchor.
    I didn’t see the way you wrote the links on the Menu but I can guess that instead of routing to the anchor itself, you are routing to the same page again.
    So first of all you should fix that (I mean that for example instead of routing (through the Menu) to ‘https://family-law.fr/en/home/#introduction ‘, your link should be only ‘#introduction’.)

    Let me know if I guessed right and if you could fix the issue 🙂

    Greetings! Mor

    • This reply was modified 1 year, 11 months ago by mor3311.

    Hi @mor3311 ,

    Thank you for your feedback !

    Actually this is working for the english version on mobile (the menu close when clicking the links) as the website is in two versions i’m obliged to workaround with this as the anchor only doesnt’ work when you are on the “fees” page.

    Can you have a look to the french version and let me know what you think ?

    Thanks a lot !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Menu won’t close on mobile and Adding social icons’ is closed to new replies.