Add the font files to your Confluence home directory.You should have a set of font files copied over: Add fonts Folder to Confluence home DirectoryImage Removed Add Custom custom supporting CSS to Your your Theme.Your packaged web-font files should will contain the following information: - font-family name
- font style
- font weight
- font ID
Info |
---|
title | Where do I find the font ID? |
---|
| You can find the font ID in the .svg file. |
The name of your font file (minus the extension) is the font's key. Once you have this information, add the following CSS to your theme.key information needed to create this file, written in the following format: Code Block |
---|
language | css |
---|
theme | Confluence |
---|
title | Format |
---|
| #embeddedFontFace("<font-family name>" "<font key>" "<font style>" "<font weight>" "<font id>") | Code Block |
---|
language | css | title |
- font-family name
- font key
- The name of your font file (minus the extension) is the font's key. Once you have this information, add the following CSS to your theme.
- font style
- font weight
- font ID
- You can find the font ID in the .svg file.
Example #embeddedFontFace("Graphik Bold Web" "Graphik-Bold-Web" "normal" "bold" "Graphik-Bold-Web") [[screenshot needed of actual CSS file. I think.]] Image Removed |