The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Google Translate Widget
voodoo
post Jul 15 2016, 08:36 AM
Post #1





Group: Members
Posts: 2
Joined: 27-April 16
Member No.: 24,195



Hi all,

I am looking to instigate the google translate widget onto my shop on shopify. The issue I have is that I am unsure or where to put the provided html so that it sits over the top menu bar (to the right), as currently it is automatically hidden by it. Alternatively have it float at the bottom left, like the contact button.

The code I have from google is as follows:

<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


And my website is www.tenn-outdoors.co.uk

Many thanks in advance
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 06:12 PM