alilMer Posted September 1, 2020 Share Posted September 1, 2020 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. Link to comment
Kate Posted September 7, 2020 Share Posted September 7, 2020 This one is not buggy and much sleeker if you want to use:) If you are looking for a way to add Anchor Links, Gallery Blocks, or a Rotating Banner with Content Blocks overlaid in Squarespace 7.1, you can find all these plugins in our Squarespace add-on store here: www.Squareaddons.com -- Enjoy! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.