I am running a WPML setup with two languages and separate domains for each language.
I would like to add a bit of custom CSS code to the translated US version (.com domain) whilst leaving the original german version (.de domain) alone.
In other words, is it possible to add custom CSS that affects only one language? If so how?
I should probably clarify that I am not referring to the language switcher. I have seen that there is the option to add custom CSS, but I assume this is only to style the language switcher itself.
You can write custom CSS and target specific languages as shown in my example below:
/* This can be used for German */
html[lang="de-DE"] {
font-size: 24px !Important;
}
/* This can be used for English */
html[lang="en-US"] {
font-size: 24px !Important;
}