Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #496973

    Hi guys,

    Is there any way i can add the following Google Translator code to get the add-on to appear on the bottom right of the footer?

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

    #496986

    Sorry, I mean top right on the header!!!

    It is currently in the footer already via a widget.

    #497013

    Hey!

    Please add it to your header using a widget area – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
    Then you can adjust CSS code provided in the link to change its position :)

    Cheers!
    Yigit

    #497115

    Hi Yigit,

    For some reason that all went horribly wrong – my fault I dont think I pasted the code properly. It stretched right across the page for some reason. I’ve just recovered the functions file from a backup so it’s all working again now. Althought the file I used to recover it was from from an older version of Enfold, but it seems ok.

    Any ideas why it spanned the whole page?

    #497524

    Hi,

    Not sure why that happened, could you link to a page where we can see the problem please?

    Thanks,
    Rikard

    #497677

    Hi Rikard,

    Is there any way i can set it just on a single page rather than accross the whole site – just so i can send over a page no one else can see.

    #497680

    Hey!

    Please create a temporary admin login and post it here privately so we can try implementing it for you. Please post FTP access here as well, so we can fix in case something goes wrong.

    Cheers!
    Yigit

    #497769

    Hi Yigit,

    Thank you ever so much for your help but think for the moment we’re going to keep it at the bottom.

    Thank you again for continued amazing support!!!!!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Google Translate’ is closed to new replies.