This page last changed on Jul 16, 2008 by jlargman.
Customisations are beyond the scope of what's covered by Atlassian Support.

There is no way to modify the default font from the user interface, so you will need to customise Confluence's CSS manually. This can be modified in your Confluence install directory under \confluence\includes\css\master.css.

For earlier versions, the file may be:
\confluence\styles\site-css.vm
or \confluence\WEB-INF\classes\styles\site-css.vm.

If you have velocity caching disabled, you can modify the Confluence font without restarting the application server. Click on the browser's Refresh button to see the changes take effect.

The first entry in the file is:

body, p, td, table, tr, .bodytext, .stepfield {
	font-family: Verdana, arial, sans-serif;
	font-size: 11px;
	line-height: 16px;
	color: #000000;
	font-weight: normal;
}

Font Size

By changing the value of the font-size field relative to the line-height field, you will be able to increase or decrease the base font size shown in the browser.

This modification should work with Internet Explorer browsers. For other browsers like Mozilla Firefox, the modification may not show because the browser may have a default font configuration that prevents font size from being changed. Firefox users may like to modify the font setting preferences in the Content option, prior to making the above changes to Confluence.

Font-Family

The font-family property is a prioritiszed list of font family names and/or generic family names for an element. The browser will use the first value it recognises.

There are two types of font-family values:

  • family-name: The name of a font-family, like "times", "courier", "arial", etc.
  • generic-family: The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace".
  • Separate each value with a comma, and always offer a generic-family name as the last alternative.
  • If a family-name contains white space, it should be quoted. Single quotes must be used when using the 'style' attribute in HTML.

More detailed discussions on modifying fonts are available in W3Schools' CSS Font Properties online documentation.

Document generated by Confluence on Aug 07, 2008 19:08