Home Forums WoodMart support forum gtranslate_wrapper Problem

gtranslate_wrapper Problem

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

    onlydipu
    Participant

    Hello,
    When i use gtranslate_wrapper core
    `<div class=”gtranslate_wrapper”></div>
    <script>window.gtranslateSettings = {“default_language”:”en”,”languages”:[“en”,”bn”],”wrapper_selector”:”.gtranslate_wrapper”,”flag_size”:24,”flag_style”:”3d”}</script>
    <script src=”https://cdn.gtranslate.net/widgets/latest/flags.js&#8221; defer></script>

    at Header–>Add Elecment–>Text/Html option. I got the Double Flag Option an error. When i remove Desktop or Mobile any one’s added HTML element. it’s Working Fine. But after adding both versions that element shows double Language Flag.

    How Can I Fixed it? Please Help.

    Attachments:
    You must be logged in to view attached files.
    #527458

    Hello,

    Can you please share the WP admin login details of your site so I will check and give you the possible solution.

    Best Regrds.

    #527472

    onlydipu
    Participant

    Ok.

    #527537

    Hello,

    Please add the below custom CSS code in the Theme Options >> Custom CSS >> CSS for Desktop section:

    .desktopgtranslate a.glink.nturl.notranslate.gt-current-lang:first-child {
        display: none;
    }
    .desktopgtranslate a.glink.nturl.notranslate:nth-child(2) {
        display: none;
    }

    Please add the below custom CSS code in the Theme Options >> Custom CSS >> CSS for Mobile section:

    .mobilegtranslate a.glink.nturl.notranslate.gt-current-lang:first-child {
        display: none;
    }
    .mobilegtranslate a.glink.nturl.notranslate:nth-child(2) {
        display: none;
    }

    Best Regards.

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