Hi Daniele,
Thanks for reaching out.
That’s doable, but I can only provide the idea how it can be achieved as we don’t provide customization in the forum. The code you’ll need is in this format
jQuery ( function($) {
$(document).on('click', '#menu-item-2234 > a ', function(e) {
e.preventDefault();
//your code here
$(this).parentsUntil('.x-off-canvas-content').parent().prev().trigger('click'); //this closes the off canvas
} );
} );
The idea is, changing #menu-item-2234
with the ID of your menu items, example
You can use the browser developer tools to inspect your site’s code and your preferred ID. This might help https://kb.oboxthemes.com/articles/how-to-get-css-styles-for-elements/
Once done, you can simply change the line //your code here
with your own code, like zE('webWidget', 'open')
. The code I provided works and tested, but it comes down to the code that you’ll add in which we can’t further cover.
Thanks!