Hey kriga!
Actually Enfold will add the flags to the main menu automatically and you don’t need to insert the language switcher. If you still want to add the default language switcher you can use the
<?php do_action('icl_language_selector'); ?>
function in header.php to show it. It’s difficult for me to tell you which code line you need to modify because I don’t now what you mean with “toolbar” or “in the banner area”.
Cheers!
Peter
Hi Dude,
is there a possibility to have the language 2 letter acronym instead of the flags (at the same place) ?
For instance, have EN for english, DE for german ?
Thanks
john
Hello!
@lemedia: Yes, it is possible. Just add this on your custom.css or Quick CSS:
.language_flag img {
display: none !important;
}
.language_code {
display: block !important;
text-transform: uppercase;
}
Best regards,
Ismael
Superb :)
works very well.
Thank you very much.
John
Which code should I add to the Quick CSS if I want to change the color of that code ?
thanks
john
Hi!
You can add the color property to that declaration and change the value as needed:
.language_code {
display: block !important;
text-transform: uppercase;
color: #333;
}
Cheers!
Devin
Hi,
this code to change/remove flags does not work on my Enfold theme:
Have put the code you posted in my Quick CSS but nothing happens.
Anyone?