Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Google Translate Plugin



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

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...