• Resolved mkdes

    (@mkdes)


    Widget look Float – not open on mobile if widget is paste using shortcode.
    If widget is pasting using Show in menu option, after click button, languages dropdown has been open.
    If widget is pastiny by shortcode, works on desktopp, but on mobile afret click button, nothing happend.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Please post your website address and make sure GTranslate is added, so I can check the issue for you.

    Thanks!

    Thread Starter mkdes

    (@mkdes)

    https://workcentre.com.pl/test-gtranslate/

    On desktop works fine.
    But if You check this on moble and open mobile menu – this not work.

    • This reply was modified 1 month, 1 week ago by mkdes.
    • This reply was modified 1 month, 1 week ago by mkdes.
    Thread Starter mkdes

    (@mkdes)

    Why gtranslate load float.js script twice?

    <script src="/https://workcentre.com.pl/wp-content/plugins/gtranslate/js/float.js?ver=5.0.1" data-no-optimize="1" data-no-minify="1" data-gt-orig-url="/test-gtranslate/" data-gt-orig-domain="workcentre.com.pl" data-gt-widget-id="27936346" defer></script>

    <script src="/https://workcentre.com.pl/wp-content/plugins/gtranslate/js/float.js?ver=5.0.1" data-no-optimize="1" data-no-minify="1" data-gt-orig-url="/test-gtranslate/" data-gt-orig-domain="workcentre.com.pl" data-gt-widget-id="53215236" defer></script>
    • This reply was modified 1 month, 1 week ago by mkdes.
    • This reply was modified 1 month, 1 week ago by mkdes.
    Thread Starter mkdes

    (@mkdes)

    Sorry I’m wasting Your time.
    This was theme problem, because load two gtranslate containers with the same ID.
    First container #gt-wrapper-18922207 is hidden – gtranslate select them and assign javascript events.
    Second element with the same ID of course has no javascript events.

    Anyway, I don’t understand why float.js is loaded many times.

    • This reply was modified 1 month, 1 week ago by mkdes.
    • This reply was modified 1 month, 1 week ago by mkdes.
    Plugin Author edo888

    (@edo888)

    Hi,

    You are placing the language switcher multiple times, that is why you see multiple float.js loaded with different IDs.

    I have tested with iphone safari and it is working fine for me, both selectors are working (mobile menu and content).

    Thanks! πŸ™‚

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

You must be logged in to reply to this topic.