top infobar - add google translate code

Discussion in 'Infoway WordPress Theme' started by rosy, Feb 15, 2014.

  1. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    how do I add google translate code instead of the link in the top infobar area?

    this is the site: http://www.boydmoving.com/
    this is the code I added but the grid area is not wide enough so you don't see the title in the translation box "Select Language"
    is there a way for it to move down slightly also?

    <div id="google_translate_element"></div><script type="text/javascript">
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,en,es,fr', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false}, 'google_translate_element');
    }
    </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>​

    Any help is appreciated.
    Thank you!
    Rosy
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Rosy,

    For this open "header.php" file and make changes as shown in the image.

    infobar.png


    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page