I am incorporating custom CSS into my website for translation purposes, and the code provided by my programmer looks like this:
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
"default_language": "en",
"detect_browser_language": true,
"languages": ["en", "pt"],
"wrapper_selector": ".gtranslate_wrapper",
"flag_size": 16,
"horizontal_position": "right",
"vertical_position": "top",
"alt_flags": {
"en": "usa",
"pt": "brazil"
}
}
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/fc.js" defer></script>
However, I want to move it about 300px from the right instead of being at the top right. How can I achieve this?
I attempted using "horizontal_position":"right:300px" but it did not work as expected, pushing the flags and codes all the way to the left. I also tried adding a "border-right: 300px solid transparent" feature, but it resulted in the same outcome.