doTranslate not triggered until hover over dropdown

Hi there,

We’ve ran into an issue on one of our clients websites. We use Gtranslate as a dropdown in the header (using the [gtranslate] shortcode) and we have three manual trigger buttons on the homepage. However, these manual buttons don’t work, until we hover over the shortcode generated dropdown in the header. From that moment on, the buttons work as expected. We use the doGTranslate function like this:

<div class="lang nl" onclick="doGTranslate(\'nl|nl\')">
...
</div>

Any idea what might be causing this? It seemed to work fine before.

Thank you

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer