Mobile NAVBAR menu not working

I purchased a plugin called BNE Navbar. On mobile sites there is a slideout menu that I was having issues with. The developer provided me with a fix for x-body.min but when I updated pro it would always need to be redone. In the most recent versions the fix no longer works because x-body.min is no longer in the files. He tried to give me a fix for x.min and its not working,

His explanation is here.
Turn off for: English
Looks like they’ve updated that file and merged into what you have now. What you want to look for is the following:
k.csHooks.filter(“hash_scrolling_selector”, 'a[href*="#"]’);
And make it look like this:
k.csHooks.filter(“hash_scrolling_selector”, 'a[href*="#"]:not(.bne-navbar-link)’);
Notice that I’ve added the :not(.bne-navbar-link) so that it does not target the navbar links. The below zip contains your edited file but you’ll need to handle this going forward as I cannot keep editing a 3rd party script for you. You can see it working here http://designs.bnecreative.com/support-customers/istandardproducers/. Have you spoken to them about how to not make it a global scope on their targeting of all links with a “#”?

I also have a video of it not working. As you can see I was clicking the menu button while it was loading and it worked momentarily.

http://recordit.co/Lt2xj1DSI1

Hello There,

If you need to edit that line of code, it can be found here now:
pro\framework\dist\js\site\x.js
Feel free to edit to work on your case as suggested by the developer of the plugin. Any side effects of the plugin though is outside the scope of our support. As much as we want to always be compatible, there’s so many plugins and there’s different coding and implementation for each. Thank you for understanding.

I’m not familiar with editing js files. My question, regardless of the developers suggestion or the plugin, is why is a menu being blocked? Is that beyond the scope of help here? I posted what he said so you could understand the issue. If I didnt post would you help me?

Hello There,

Your menu is not being blocked. All menu items is treated equally. The plugin developer provided you a fix for the menu items that has .bne-navbar-link so that the BNE navbar links will be exempted or ignored by the JS code which is present in the theme. In simple terms, the X theme does not support BNE navbar plugin. And we do not recommend editing any of the JS files built in for the theme because you will always have issues when there is an update of the theme. I would suggest that you use a different navbar plugin or at least utilize the available features of the theme. Any modifications or addition of features for the theme like the one provided by a 3rd party plugin BNE Navbar is way beyond the scope of our support. as we are not familiar of the plugin hence we will have difficulties in giving out support for the plugin.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.