Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Prisna

    (@prisna)

    Hello,

    1) Go to:

    Advanced > General > Javascript callbacks > On after load, use:

    setTimeout(function() {
    	jQuery(".goog-te-menu-value span:nth(0)").text("SELECCIONAR IDIOMA");
    }, 200);
    

    2) Go to:

    Advanced > General > Custom CSS, use:

    .goog-te-gadget-simple img {
    	display: none;
    }
    

    It’s not possible to add the flags there, sorry.

    If you don’t need anything else, we’d appreciate if you could mark the ticket as resolved.

    Regards

    Thread Starter rstudio2015

    (@rstudio2015)

    Hi, the question number 1 dosnt work, i follow the steps and nothing appends, i want change the size of the box and the inicial text, the question number 2 i want to put a image (remove google image and put a image i selected)

    Thanks

    Plugin Author Prisna

    (@prisna)

    Hello,

    1) Please send a link/URL where I can see the changes you made. The size will be automatically adjusted to the text length.

    2) The code to replace the little Google image will have to be placed in the same way as 1):

    Advanced > General > Javascript callbacks > On after load, use:

    setTimeout(function() {
    	jQuery(".goog-te-menu-value span:nth(0)").text("SELECCIONAR IDIOMA");
    	jQuery(".goog-te-gadget-simple img:nth(0)").attr("src", "path_to_new_image");
    }, 200);
    

    You can also try to replace the 200 by a bigger number, try 1000.

    Regards

    Hi I would like to style my goole translate button – make the bg black and ‘select language’ copy white. I would also like to reduce the height slightly. And make the dropdown language colours a gray not blue. Please assist? Thanks T

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change Style’ is closed to new replies.