Language switcher doesn't work

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 6 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13361

    KeLoX
    Participant

    Support Expired

    Hello,

    I have my website in two languages :

    http://www.maisongg.com/
    http://www.maisongg.com/en/

    The language switcher in the menu doesn’t work. Could you please help?

    Many thanks

    #13374

    CTHthemes
    Keymaster

    Edit your scripts.js file to add the code bellow to readyFunctions function: http://prntscr.com/el4sd8

    
    jQuery(".menu-item-language a").on("click", function() {
            var a = jQuery(this).attr('href');
            window.location = a;
            return false;
        });
    
    #13446

    KeLoX
    Participant

    Support Expired

    Great thank you it worked 😉
    Good day

    #13472

    CTHthemes
    Keymaster

    You are welcome 🙂

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

You must be logged in to reply to this topic.