gtranslate_wrapper Problem
-
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” 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.
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.
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.