The Change body text font CSS snippet lets you update the font family and color applied to article body content across your entire knowledge base site. The default body font in Document360 is Source Sans Pro, with sans-serif as the fallback. Changing this snippet replaces it with any font available in the browser or referenced via a custom font setup.
How to customize the body font
- Navigate to Settings () > Knowledge base site in the left navigation bar of the Knowledge base portal.
- In the left navigation pane, navigate to Site customization.

- Click Custom CSS & JavaScript.
- Select the CSS tab, then click Add code snippets in the top right.
- Click Change body text font. The snippet is inserted into the CSS editor.

- Replace the
font-familyvalue with your desired font name. - Replace the
colorvalue with your desired font color (HEX code). - Click Save or press Ctrl + S.

The new font is applied to all article body content across the knowledge base.
For example, to change the body font to Roboto with a red color, replace font-family with "Roboto", sans-serif and color with #FF0000. The modification applies to the entire knowledge base.
Best practices
- Use web-safe fonts or hosted fonts - if the font is not available on the reader's system, the browser falls back to the generic family (e.g.,
sans-serif). For custom or brand fonts, use a hosted font via a custom CSS import. - Keep the fallback font generic - always include a generic family (
sans-serif,serif) as the last value in yourfont-familydeclaration to ensure readability if the primary font fails to load. - Test readability across article types - body font changes affect all articles. Check how the font renders in articles with code blocks, tables, and callouts, as font changes can affect spacing and legibility in these elements.