Variable Font Embedding

Upload fonts to the /CSS folder to have them display in the editor as well as the public site.

Add to style.css

Variable font example

@font-face {
  font-family: 'worksans';
  src: url(WorkSans-VariableFont_wght.ttf)format("truetype-variations");
  font-weight: 1 999;
}

Standard font weights example, if not using variable fonts

@font-face {
  font-family: "DroidSerif";
  src: url("DroidSerif-Regular-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "DroidSerif";
  src: url("DroidSerif-Italic-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "DroidSerif";
  src: url("DroidSerif-Bold-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "DroidSerif";
  src: url("DroidSerif-BoldItalic-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

Index Previous Next