Configure Style Based on Content Language - Fluid Topics - 3.5 - Technical Notes

Manage Languages in Fluid Topics

Product
Fluid Topics
Fluid Topics Version
3.5
Category
Technical Notes
Target Audience
public

It is possible to apply a different style on content depending on its language, such as modifying the font for English content and the size or the color of titles for French content.

Perform the following steps to apply a particular style to content in a given language:
  1. Open the Content Styles Editor in Fluid Topics .
  2. Add the content-locale-$LANG, 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 code according to the list of available content languages.