I've recently implemented Google Translator on my website to allow users to view the content in different languages.
Here is the code snippet I used:
<div id="google_translate_element"></div>
<div id="language"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en', includedLanguages: 'bn,en,kn', layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Now, I would like to customize the dropdown menu with changes to background color, text color, text size, and width. Can someone guide me on how to achieve this?
Any help or suggestions would be greatly appreciated.
I've attempted setting the dropdown opacity to 0 and placing a customized dropdown in the same position, but it doesn't seem to work as intended...