Google translator gadget messes up Twenty Eleven background? (1 post)

  1. janmartin
    Posted 3 years ago #

    Hi all,

    just installed the Google translator in a side bar text widget.

    Then noticed that it messes up the behavior of the Twenty Eleven background: The gradient starts to scroll and to repeat.

    You can see my site here: http://bit.ly/Kd3Ehy

    What to do to keep the gradient background non-repeating and non-scrolling?

    Code generated at:

    I tried various plug-ins providing the Google Translator, but they either cause the same problem or are very limited.


    <div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({
    pageLanguage: 'en',
    gaTrack: true,
    gaId: 'UA-28810140-1'
    }, 'google_translate_element');

    I put this line into the footer:
    <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Topic Closed

This topic has been closed to new replies.

About this Topic