How-to guide

Fonts and colours for the whole site

Five variables at the top of the Site CSS set most of the look.

Steps

  1. Open System › Site CSS.

  2. Change the variables in :root: --jc-font, --jc-text, --jc-bg, --jc-accent, --jc-width.

  3. For a web font, upload the .woff2 file with a kit (/uploads/) and add an @font-face; fonts must come from your own site.

  4. Save and look at a few pages; Design-tab colours on single blocks still win over the variables.

CSS

:root {
  --jc-font: "Source Sans 3", system-ui, sans-serif;
  --jc-text: #1b1b1b;
  --jc-bg: #ffffff;
  --jc-accent: #0b6e4f;
  --jc-width: 1140px;
}
@font-face { font-family: "Source Sans 3"; src: url("/CMS/uploads/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
h1, h2, h3 { letter-spacing: -0.02em; }

Prompt for your AI

Attached is my JoodCMS kit. Change only theme.json: font [font name, include the woff2 in /uploads/ if licensed],
text colour [hex], background [hex], accent [hex]. Keep all pages and ids. Return the complete kit.

← All guides

made by Content Management System