wpdelta
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Responsive Menu] Non clickable items closing menuI borrowed an iphone and tested on it. If you could provide me the URL for the site I can have a look. Basically the links that are listed as “#” will open sub-menu instead of closing the menu, but the links that are valid will close the menu and take you to the page. I have tried this code for the menu that opens from the left side. I believe there is a different code for the menu opening from the top.
Forum: Plugins
In reply to: [WP Responsive Menu] Non clickable items closing menuForum: Plugins
In reply to: [WP Responsive Menu] Non clickable items closing menuI am not the developer, just the user.
I was able to achieve this by disabling the following code in wprmenu.js inside the js folder. Simply Comment out this code, which seems to close the menu whenever a link is clicked.
menu_a.on(‘click’, function(e) {
$.sidr(‘close’, ‘wprmenu_menu’);
});Now if the Menu got sub-menu, what you could do is that when you click on empty menu item that it will expand, in order to do that change this line in wprmenu.js
$(‘.wprmenu_icon_par’).on(‘click’,function() {
to following.$(‘.wprmenu_icon_par, .wprmenu_parent_item’).on(‘click’,function() {