Google Translate Plugin

silhoutete of poeple

Web page URL: http://www.primecarechi.org

I added a custom code in the code injection in the footer to add a Google Translate alternative for the web site and now it glitches the web site and tends to make jump a bit to the left. Is there an problem with the margin space? Do I want to add padding to the code?

right here is the code:
&ltdiv id=”google_translate_element”&gt&lt/div&gt&ltscript form=”text/javascript”&gt
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL}, ‘google_translate_element’)
}
&lt/script&gt&ltscript form=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”&gt&lt/script&gt

I attached photos of what the glitching appears like. It only seems on the left side of the web 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