Thread Starter
anheco
(@anheco)
Plugin Author
edo888
(@edo888)
Hi,
I have checked and I see that the onclick event is missing on the language selector elements inside the mobile menu.
This usually happens when the HTML code is being copied around, since in that case the events are not transferred. Most mobile menus are being derived from the desktop menu via javascript.
For such cases we recommend consulting the theme/menu plugin developer or using our paid version, which does not depend on onclick events and will work even if the HTML is copied.
Thanks! 🙂
Thread Starter
anheco
(@anheco)
Hi and thank you very much for taking the time to have a look at my issue !
To clarify, the widget inside the mobile menu was added using the exact same shortcode as the one in the main desktop menu.
The mobile menu is completely distinct from the main menu and is not auto generated.
It’s a plain whole Elementor template that is being displayed as a modal when clicking the burger menu button.
What onclick event do you see missing ?
Because I don’t see any onclick attribute on the main language selector in the desktop version either.
Maybe this is something I can add manually ?
Thanks again for any hint to help making the widget work in the menu =)
Plugin Author
edo888
(@edo888)
Hi,
It is not an onclick attribute, but an event attached to the element via javascript. If you inspect the click events on the language link elements in the browser console you will see GTranslate related event is missing in the popup.
I can only offer you to use our paid version which will solve the issue for you: https://gtranslate.io/#pricing
Thanks! 🙂