• Resolved dadoe

    (@dadoe)


    In the desktop version you can only see the active language. Is the theme the problem? How can the problem be solved?
    Unfortunately, I’m unsuccessful at the moment 🙁

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Alex Gor

    (@alexgff)

    From your link I was redirected to another site, that don’t use WPGlobus.

    Thread Starter dadoe

    (@dadoe)

    Sorry Alex, my fault:

    http://www.quartier65.de

    Plugin Support Alex Gor

    (@alexgff)

    You can add this code on WPGlobus Options page, Custom JS Code tab

    
    if ( WPGlobus.language == 'de' ) {
    	jQuery('.wpglobus-current-language a span').removeClass('wpglobus_flag_de').addClass('wpglobus_flag_en');
    	jQuery('.wpglobus-current-language a').attr('href', location.origin+'/en');
    } else {
    	jQuery('.wpglobus-current-language a span').removeClass('wpglobus_flag_en').addClass('wpglobus_flag_de');
    	jQuery('.wpglobus-current-language a').attr('href', location.origin);
    }
    

    then Save Changes and check on front.

    Thread Starter dadoe

    (@dadoe)

    Works!!! Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Dropdown doesn’t´t work in desktop-version’ is closed to new replies.