• Resolved fabisale

    (@fabisale)


    Hi there,
    I don′t know when exactly but since any update in the past, the language switcher on the desktop version of my website does not work anymore. There should be the possibility to choose between German and English but it just shows the flag of the current language and when I hover over the flag no drop-down appears anymore even if there was no problem in the past.

    Thank you in advance for your help!
    Best regards
    Fabian

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alex Gor

    (@alexgff)

    To fix the issue with language switcher you should
    1. open the WPGobus Options page
    2. select the “Custom Code” tab
    3. add code to “Custom JS Code” option

    setTimeout(function(){
        jQuery(document).on('mouseenter', '.wpglobus-current-language', function(ev){
            jQuery('.wpglobus-current-language .sub-menu').css({'visibility':'visible'});
        });
        jQuery(document).on('mouseleave', '.wpglobus-current-language', function(ev){
            jQuery('.wpglobus-current-language .sub-menu').css({'visibility':'none'});
        });
    },500);

    4. click “Save Changes”
    5. check on the frontend

    Thread Starter fabisale

    (@fabisale)

    Hi Alex,
    it worked perfectly! Thank you very much.

    Best regards
    Fabian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Language Switcher does not work on desktop but on mobile devices’ is closed to new replies.