Confluence Docs 2.10 : Change default font, color, or spacing in Confluence
This page last changed on Nov 06, 2008 by jlargman.
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: 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 SizeBy 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-FamilyThe 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:
More detailed discussions on modifying fonts are available in W3Schools' CSS Font Properties online documentation. Other formatting in ConfluenceThe other css files in the includes folder contain styles for specific parts of Confluence. To figure out what css is in operation for the page you're looking at, choose 'view source' from your browser's View menu. Find the div class like "class="blogHeading", then grep for that name in the includes folder to find the file you want to configure. Some notable examples are:
|
![]() |
Document generated by Confluence on Dec 03, 2008 15:14 |