• Resolved stephandeutsch

    (@stephandeutsch)


    Hi guys, I don’t know why but somehow the dropdown menu ist not working for me, any idea what I could do to fix it?

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

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

    (@alexgff)

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

    
    ?jQuery(document).on('mouseenter', '.wpglobus-current-language', function(ev){
        jQuery('.dopwown-menu').css({'display':'block','visibility':'visible','opacity':1,'padding':'0px 10px 0px 0px'});
    });
    jQuery(document).on('mouseleave', '.wpglobus-current-language', function(ev){
        jQuery('.dopwown-menu').css({'display':'','visibility':'','opacity':0});
    });
    jQuery(document).on('mouseleave', '.sub-menu li', function(ev){
        jQuery('.dopwown-menu').css({'display':'','visibility':'','opacity':0});
    });
    

    ?

    4. click Save Changes
    5. check out on frontend

    Thread Starter stephandeutsch

    (@stephandeutsch)

    Hi Alex, thx for your answer, I tried it out but it didn’t change anything, the dropdown still does not work

    Plugin Contributor Alex Gor

    (@alexgff)

    Code is correct.
    Check out browser console to find out line with Uncaught SyntaxError: Invalid or unexpected token message.
    You should remove the first invalid symbol from the code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dropdown not working’ is closed to new replies.