Add Google Fonts to MyBB: hosted locally or from a CDN

amtekkie · Today

Give your theme any font without CSS: fonts already on visitors' devices, or any Google font, served from your own server (recommended) or Google's CDN.

Where
  • MyStudio Options → Typography & Shape: the text font and theme font roles (such as headings)
  • MyStudio Options → Theme → Logo Text Style: the logo font
  • MyStudio → Fonts: add, style, switch delivery, delete

Built-in choices

No download needed; they load instantly. Every font list draws each font in itself (the logo font in your logo text).

The theme's ownAs the designer chose.
SystemThe device's interface font.
Humanist, Serif, RoundedClassic stacks of installed fonts.
MonospaceCode-style type.

Add a Google font

MyStudio Fonts page for adding Google Fonts to MyBB
(1) Type a family name: Google's families are suggested as you type. (2) Tick the styles to use. (3) Delivery: this forum or Google's CDN. (4) Your fonts with a sample.

From the Fonts page

  1. MyStudio → Fonts.
  2. Type a family, such as Inter; matches are suggested.
  3. Tick the styles you want (Thin 100 to Black 900, with italics; missing ones are greyed out).
  4. Choose the delivery and click Add.

From any font setting

Choose Google font…, type the family and pick the delivery. You get Regular 400, Bold 700 and their italics. Fonts added either way appear in every font setting.

Local or CDN?

DeliveryWhat happensVisitors' privacy
This forum (recommended)Downloaded once to uploads/ms_fonts/; browsers fetch only the character sets a page usesNever contacts Google
Google's CDNPages link Google's stylesheetEvery visitor's IP goes to Google; may need consent (GDPR)

Switch any time; switching to the CDN keeps the downloaded files.

Security

  • Only family names and styles Google lists; MyStudio builds the address itself and never takes a URL from a form.
  • Downloads only from Google's font servers over HTTPS, size-limited and checked to be font files.
  • Needs the Admin CP permission for MyStudio → Fonts.

Performance

Pick few stylesEach is a file; usually 400 and 700 are enough.
Local is fasterNo connection to another server.
Built-in is freeNothing to load.

Theme developers can add font roles: theme.json reference.