Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
namePage Info
id278129461
classwatermark-layer
Content Column
namePage Body
width100.00001%
id278129463
Content Block
background-colortransparent
namePrompt
id494677873
classtight manual-prompt-flex

Including licensed font files in your theme.

Content Block
nameOutcome
rich-link-hoverstrue
id1042866408
classtight manual-outcome-flex

You may have a set of font files licensed for your organization for web use. In order to add them to your theme's font families, you must first add them to your theme.

Content Block
nameSteps
rich-link-hoverstrue
id494842117
classsteps-block numbered manual-steps-flex tight-bottom

Add the font files to your Confluence home directory.

To complete this step, you must have access to the server/computer on which Confluence was installed. You should have your set of purchased font files accessible.

  • From your Confluence home directory navigate to brikit/themes.

  • Select the folder that matches the appropriate theme.
  • If not already there, add a fonts folder.
  • Within the fonts folder, add your font files:
    • .eot
    • .svg
    • .ttf
    • .woff
    • .woff2

Add custom supporting CSS to your Theme.

Your packaged web-font files will contain key information needed to create a CSS file, including:

  • font-family name
  • font key
    • The name of your font file (minus the extension) is the font's key.
  • font style
  • font weight
  • font ID
    • You can find the font ID in the .svg file.

Once you have located the key information, add a CSS file named embedded-fonts.css with the following format for each font:

Code Block
languagecss
themeConfluence
titleFormat
#embeddedFontFace("<font-family name>" "<font key>" "<font style>" "<font weight>" "<font id>")


Example

#embeddedFontFace("Graphik Bold Web" "Graphik-Bold-Web" "normal" "bold" "Graphik-Bold-Web")

HTML Wrap
classdocs-screenshot

Content Block
nameNote
rich-link-hoverstrue
id495965127
classmanual-note-flex
Note

If using:

  • Replace me with something to note about this how-to entry that falls outside the scope of all other sections; and
  • Add the tight-bottom class to the Steps block above to narrow the gap between the two blocks

    Theme Press does not accept OpenType Font (.otf) files, so we recommend converting these to one of the above-mentioned font formats, specifically .ttf, .woff or .woff2.

    Content Block
    nameTip
    rich-link-hoverstrue
    id894522670
    classmanual-tip-flex
    collapsiblecollapse
    Tip

    If using:

    1. Replace me with something to note about this how-to entry that falls outside the scope of all other sections; and
    2. Add the tight-bottom class to the next visible/non-collapsed block above this one to narrow the gap between the two blocks.
    Content Block
    nameWarning
    rich-link-hoverstrue
    id894530759
    classmanual-warning-flex
    collapsiblecollapse
    Warning

    If using:

    1. Replace me with something to note about this how-to entry that falls outside the scope of all other sections; and
    2. Add the tight-bottom class to the next visible/non-collapsed block above this one to narrow the gap between the two blocks.
    Content Block
    nameInfo
    rich-link-hoverstrue
    id894537203
    classmanual-info-flex
    collapsiblecollapse
    Info

    If using:

    1. Replace me with something to note about this how-to entry that falls outside the scope of all other sections; and
    2. Add the tight-bottom class to the next visible/non-collapsed block above this one to narrow the gap between the two blocks.
    Content Layer
    background-color$lightGrayColor
    nameRelated
    id888168050
    Content Column
    nameRelated
    width100%
    id888168051
    Content Block
    rich-links-hide-descriptiontrue
    rich-link-hoverstrue
    rich-links-columns4
    rich-links-verticaltrue
    rich-links-image-height100px
    rich-links-hide-site-icontrue
    rich-links-details-padding10px
    nameRelated
    rich-links-enabletrue
    border-width0
    rich-links-details-alignmentleft
    rich-links-margin20px 30px 0 0
    id496234544
    classrelated-block clean manual-related-flex