Versions Compared

Key

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

...

Info

The content above shows how you can style include custom fonts for your Confluence content. In our example we use Google Fonts (see CSS code below).

CSS Code

Confluence prism macro
lineNumberstrue
languageCSS
@import url('https://fonts.googleapis.com/css2?family=Potta+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap');

h1  {
    font-family: 'Potta One', cursive;
}

p {
    font-family: 'Hachi Maru Pop', cursive;
}