• Resolved biloute

    (@antwake)


    hi there

    I’m on WordPress 5.8.1 running Salient Child Theme Version: 1.0.
    I installed Polylang Version 3.1.2

    On desktop only, when I click on the language switcher, nothing happens. The page doesn’t switch to the other language. It works perfectly on mobile.

    The difference is that, on desktop, this line is called
    jQuery("html, body").animate({ scrollTop: jQuery(jQuery(this).attr("href")).offset().top - 100 }, 1000);

    and it returns this error
    Uncaught Error: Syntax error, unrecognized expression

    Any chance somebody can help me fix this?

    thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘language switcher doesn’t work on desktop, only on mobile’ is closed to new replies.