On the Styles tab, you can define how text will be formatted in exports. You can style both text exported from Confluence pages, as well as static text that you manually add to the content boxes in your template.
Style text exported from Confluence pages
In the Paragraphs, List, Tables, Text styles, Indexes and Nested Headings sections on the left of the editor, you can define default text styles which directly correspond to all categories of text in Confluence pages.
When you export Confluence content, it will be styled in accordance with the styles configured on this screen. For example, if you change the Heading 2 style's color to red, all heading 2 text exported from Confluence will be red.
In the Nested Headings section, you can define default styles for headings levels that are placed within Confluence tables, Panel macros and admonitions (e.g. Note, Warning and Info macros). Furthermore, heading levels that are generated by specific macros, like the Recently Updated macro, can also be styled in this section of the editor.
Nested Headings are excluded from the generated table of contents and are not associated with heading numbering.
Style the static text in your template
You can also create new custom styles at Paragraphs > +. Custom styles are not used to format content you export from Confluence – they are only used to style static text you manually add to the content boxes in your template. By default, the template editor includes two custom styles (Small Text & Unnumbered Heading) which can be edited, copied or deleted.
Both custom and default styles can be modified in a number of ways – you can change the following properties:
|Line Height (%)|
Page break before
|Border Radius (pt)|
|Level 1- 6|
In the middle of the template editor, the Preview shows you how your style looks, and automatically updates as you make edits.
Add custom fonts
You require space admin permissions to add custom fonts to a template. When you add a custom font to a template, it is available for all styles in that template.
Add a custom font by clicking Font > Manage custom fonts. You can upload fonts in either .ttf, .ttc, or .otf formats.
Revert to the last saved version of the template
If you make changes to a template which you are unhappy with, you can easily return to the last saved version of the template by selecting the revert option:
Once you have selected revert, you can confirm that you wish to revert all unsaved changes in the template to the last saved state.
Now you have styled your text, you can define the structure of your template – and fine-tune the design – on the 'Document Sections' tab.