How To Add Google Translate
- Download & activate ‘Translate WordPress with GTranslate’ plugin
- Click settings –> GTranslate
- Select ‘Nice Dropdown with Flags’
- Select English & Spanish
- Click Save
- Download & activate ‘Shortcode in menus’ plugin
- Click Site Menus
- Add shortcode and type [GTranslate]. Leave title blank. Click add to menu.
- Add the following CSS:
.switcher{
width:100px!important;
}
.switcher .selected {
background: transparent !important;
}
.switcher .selected a {
border: none !important;
width:100px!important;
}
.switcher .option {
background-color: #ffffff !important;
}
.switcher .selected a {
background: url(/wp-content/plugins/gtranslate/arrow_down.png) 80px center no-repeat !important;
}