WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. janmartin
    Member
    Posted 2 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:
    http://translate.google.com/translate_tools

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

    Thanks,
    Jan

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

    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