Shopifont

Shopify Ride · Free, no signup · Last updated

Ride Theme Typography CSS Variables

Ride exposes `--font-heading-family`, `--font-heading-style`, `--font-heading-weight`, and the matching `--font-body-*` tokens on `:root` — overriding them is the cleanest way to swap typography without forking core theme files.

Ride centralizes its entire typography system in six CSS custom properties on `:root`. Because an outdoor- and sports-equipment free theme tuned for spec-heavy product pages and review-driven layouts., every page-level heading and paragraph reads from those tokens — meaning a single override block can retarget the whole site.

Generator

Faces(1 face)

Face 1·Regular 400

Formats

Each face becomes its own @font-face block. The filename field on each row defaults to a clean pattern, but you can paste the exact filename you uploaded if your foundry shipped it with a different name — no renaming required.

Apply to
Controls which Dawn typography roots the CSS variable block overrides.

Live preview

Add to cart · Free shipping · 30-day returns

Drop a WOFF2 / WOFF / TTF file here to preview your actual font. The file stays in your browser — nothing is uploaded.

Paste these three blocks in order. They're independent files in your theme — copying one without the others won't break the store.

Step 1: @font-face CSS

Upload your font files to the theme's assets/ folder, then paste this at the bottom of assets/base.css. Shopify's asset_url filter resolves the file paths at render time.

@font-face {
  font-family: "My Brand Sans";
  src: url({{ 'my-brand-sans.woff2' | asset_url }}) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

How to use this on Ride

  1. The six tokens are: `--font-heading-family`, `--font-heading-style`, `--font-heading-weight`, `--font-body-family`, `--font-body-style`, and `--font-body-weight`.

  2. Ride sets them in `base.css` from the values configured in the Theme Editor.

  3. To swap them, you append a `:root { ... }` override to the bottom of `assets/base.css` — that override loads after the theme's defaults and wins by source order.

  4. Selectors like .specs__heading, .product__title pick up the change without any template edits, and the override survives Ride updates because you're modifying values, not the cascade chain itself.

Typography Kit

Skip straight to a finished result

Every step above, already done for you on Ride — a proven font pairing, the install code pre-built, the licensing confirmed, and a specimen so you see it before you ship it. One-time, instant download, no account.

See the Typography Kits$19 · one-time · instant download

Don't have a font yet? Creative Fabrica has 30,000+ web fonts with commercial licenses included — drop one into the @font-face block above and you're live. (affiliate)

Frequently asked questions

  • Which CSS variables control typography in Ride?

    Ride sets six tokens on `:root`: `--font-heading-family`, `--font-heading-style`, `--font-heading-weight`, `--font-body-family`, `--font-body-style`, and `--font-body-weight`. Heading selectors read the heading triplet, body selectors read the body triplet — there's no per-section override.

  • What's the difference between --font-heading-family and --font-body-family in Ride?

    `--font-heading-family` is consumed by every heading-level rule, including .specs__heading, .product__title. `--font-body-family` is consumed by paragraphs, list items, form copy, and the cart drawer in Ride. Setting only one lets you mix a display heading face with the theme's default body face on body — a useful split when your custom font is large.

  • How do I override Ride's typography without touching base.css directly?

    Add a `:root { --font-heading-family: ... }` block at the bottom of `assets/base.css`. The cascade resolves the later declaration as the winner, so Ride's defaults are overridden without removing them. This pattern survives Shopify's quarterly theme updates, which often modify `base.css` but rarely touch the trailing customization region.

  • Will a CSS-variable typography override survive a Ride update?

    Yes — provided you append the override at the bottom of `assets/base.css` rather than editing the original token declarations. Ride ships theme updates that may rewrite the `base.css` defaults, but appended override blocks are preserved as long as they live below the auto-generated section. As a hardening step, paste the override behind a clearly marked comment so future you (or a subsequent developer) recognizes it as customization.