Google Translate Plugin

silhoutete of poeple

Site URL: http://www.primecarechi.org

I added a custom code in the code injection in the footer to add a Google Translate option for the site and now it glitches the site and makes jump a bit to the left. Is there an issue with the margin space? Do I need to add padding to the code?

here is the code:
<div id=”google_translate_element”></div><script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL}, ‘google_translate_element’);
}
</script><script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>

I attached images of what the glitching looks like. It only appears on the left side of the site.

Screen Shot 2020-09-01 at 11.13.49 AM.png

Screen Shot 2020-09-01 at 11.14.51 AM.png

Screen Shot 2020-09-01 at 11.15.06 AM.png

Latest posts