Forums

[resolved] Change text color on translation button plugin (7 posts)

  1. flopez01
    Member
    Posted 2 years ago #

    Hey everyone,

    I'm trying to change the text color on the drop down menu
    of my Google Ajax Translation button.
    http://new.hydroponic-gardens.com/wordpress/

    Where do I find this code?

    Thanks,
    Fernando

  2. tugbucket
    Member
    Posted 2 years ago #

    change:

    .translate_translate {
    font-weight: normal !important;
    margin-bottom: 0.5em;
    text-decoration: none !important;
    }

    to:

    #header .translate_translate {
    font-weight: normal !important;
    margin-bottom: 0.5em;
    text-decoration: none !important;
    color: YOUR_COLOR_HERE;
    }

    then change:

    .translate_links a {
    display: block;
    font-weight: normal !important;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    }

    to:

    .translate_links a {
    display: block;
    font-weight: normal !important;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    color: #000;
    }

    in order to set the sub links back to black.

  3. flopez01
    Member
    Posted 2 years ago #

    Thanks for the quick reply,

    But where do I find that code? style.css?

    Fernando

  4. flopez01
    Member
    Posted 2 years ago #

    Ah ha, found it.

    Thanks for the help. Much appreciated.

    How do I make the links underline when I hover.
    Can I just add some code in?

  5. tugbucket
    Member
    Posted 2 years ago #

    .translate_links a:hover {
    text-decoration: underline;
    }
  6. flopez01
    Member
    Posted 2 years ago #

    I tried that code,
    but nothing changed.

  7. flopez01
    Member
    Posted 2 years ago #

    Hello everyone,

    Thanks for your help tugbucket.

    I just needed to label it as: !important;

    .translate_links a:hover {
    text-decoration: underline !important;
    }

    Thanks again,
    Fernando

Topic Closed

This topic has been closed to new replies.

About this Topic