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.
-
Define styles using the
.content-locale-$LANGHTML class.For example, replace
$LANGbyen-USfor American English orfr-FRfor French from France..content-locale-$LANG { color: blue; } .content-locale-fr-FR { color: red; } .content-locale-en-US { color: green; }