Hi Sigoog,

With some tricky CSS rules you can customize the color of that text.

Here is an example:

<html>
  <head>
    <style>
      body {
        background-color:black;
        color:white;
      }
      div.goog-te-gadget,
      a.goog-logo-link:link,
      a.goog-logo-link:visited {
        color:red;
      }
    </style>
  </head>
  <body>
    <div id="google_translate_element"></div><script>
      function googleTranslateElementInit() {
        new google.translate.TranslateElement({
          pageLanguage: 'fr'
        }, 'google_translate_element');
      }
      </script><script src="http://translate.google.com/translate_a/
element.js?cb=googleTranslateElementInit"></script>
    Voici un texte de test que nous traduire.
  </body>
</html>

I can't guarantee this will always work, as it uses undocumented CSS
class names, which are subject to change, but at least right now,
that'll do it for you.

Cheers,
Josh


On Feb 17, 3:45 am, Sigoog wrote:
> Oh btw, or even better: Is there a way to just show the Google toolbar
> at the top if the language is different from the site your viewing
> instead of ALWAYS showing the dropdown menu?
>
> On Feb 17, 12:44 pm, Sigoog wrote:
>
> > Hi there,
> > how do I change the color used for the "powered by" text under the
> > language selection field?
> > The black/grey obviously just works on white backgrounds, I have a
> > dark blue one though and it looks bad... So how do I make it white?
> > (Can't do it with css, can I, since it's just implemented with a
> > script and not with a div class or something?)
>
> > Thanks a lot in advance!

Reply via email to