It is possible to apply different styles based on the content's language. For example, modify the font or size for English content, or the color of titles for French content.
Perform the following steps to apply a particular style to content in a given language:
- Open the Content styles editor in Fluid Topics.
-
Add parameters as in the following example:
.content-locale-$LANG { color: blue; } .content-locale-$LANG { color: red; } .content-locale-$LANG { color: green; }
In the example above, $LANG
must be the ISO 639-1 language designator in lowercase and an ISO 3166-1 region designator in uppercase of the content language.