Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Customize the look

Page width and layouts, the header, the announcement bar, the footer and Powered by badge, and component styles. Everything you can change, and where, on one page.

This page walks through every appearance setting from the top of the page to the bottom, with links to the full option reference. Most settings live in docs.yml, and you can also change them under Docs settings in the editor; see the console steps at the end.

Page width and layouts

Wide mode

By default, the page is capped at a maximum width (1376px) and centered, leaving space on both sides on large screens. In wide mode, the sidebar sits against the left edge of the screen, the table of contents against the right, and the content in between, with no empty margins on large screens:

docs.yml
layout:
  page-width: full        # wide mode; a value such as 1440px caps the width instead
  content-width: 760px    # width of the content column, 640px by default; worth raising in wide mode

The content column itself still follows content-width, so long paragraphs don't stretch too wide. For pages that should fill the whole middle area, use one of the page layouts below.

Page layouts

Each page picks its layout with layout in its frontmatter:

ValueEffectGood for
guide (default)Standard content width plus the table of contents on the rightRegular docs pages
overviewWider content (800px)Home, index and overview pages
pageUnlimited content width, no table of contentsLarge tables, wide images, dashboard-style content
referenceUnlimited content width for two-column contentSide-by-side layouts like API endpoints
customNo sidebar or table of contents, content centered; no page actions, previous / next links or feedbackWelcome and landing pages

Wide mode and page layouts combine: for example, set page-width: full for the whole site and give a few pages layout: page so their content fills the middle area. See Page metadata for every field.

Welcome pages: hero images and frosted glass

Set background-image in a page's frontmatter and the image covers the top of the page beneath the header (about 840px tall, fading out downward), while the header turns translucent. Combined with layout: custom, that's the typical welcome page:

pages/welcome.mdx
---
title: Welcome
layout: custom
background-image:
  light: ./images/hero-light.webp
  dark: ./images/hero-dark.webp
---

<CardGroup cols={3}>
  <Card title="Quickstart" icon="lucide:rocket" href="/quickstart">Publish your first site in five minutes.</Card>
  <Card title="API reference" icon="lucide:braces" href="/api">Every endpoint, with examples.</Card>
  <Card title="Changelog" icon="lucide:history" href="/changelog">What's new.</Card>
</CardGroup>

When a page has a hero image, or the site sets a background image with background-image in docs.yml, cards, code blocks, accordions, file trees and similar elements automatically turn into translucent frosted glass that lets the image show through.

You can adjust the header's color, opacity and background blur. Below 100% opacity, content scrolling underneath shows through the header, softened by the blur:

docs.yml
colors:
  header-background:
    light: "#ffffff"
    dark: "#0b0b10"
layout:
  header-height: 64px
  header-opacity: 70%     # or 0.7; 100% by default (70% on a page hero image)
  header-blur: 16         # pixels, 16 by default, 0 turns it off

For the logo, the small badge next to it (logo.right-text) and header links, see the docs.yml reference.

Announcement bar

The bar above the header can use any color, gradient or image, set separately for light and dark mode:

docs.yml
announcement:
  message: "**v2** is out: see what's new"
  href: /changelog
  background:
    light: "linear-gradient(90deg, #7c3aed, #db2777)"
    dark: ./images/announcement-dark.webp   # images are scaled to cover
  color: "#ffffff"

In YAML, anything after # is a comment, so quote gradients that contain hex colors. Otherwise the gradient is cut off and the bar falls back to the accent color.

Readers can dismiss the bar; dismissal is remembered per message, so it comes back when the message changes. See Announcement bar.

Configure the copyright text, link columns, social icons and top badges under footer:

docs.yml
footer:
  text: © 2026 Acme, Inc.
  columns:
    - title: Product
      links:
        - text: Pricing
          href: /pricing
  socials:
    github: https://github.com/acme
  badges:
    - text: All systems normal
      href: https://status.acme.dev
      status: true

See Footer for every field.

When the default structure isn't enough (a multi-column brand blurb, a newsletter sign-up, a wall of certification badges), write the whole footer as an MDX file:

docs.yml
footer: ./footer.mdx

The footer file can use every built-in component, for example <Columns widths="2 1 1"> for layout, plus images and links; relative paths resolve from the footer file's own location. See Custom footer.

Powered by badge

A "Powered by ButterIX" badge appears at the top left of the footer; when no footer is configured, it sits alone in a slim centered bar. Sites hosted on ButterIX show it by default. Removing it takes two steps:

  1. The platform administrator opens your organization under Organizations in the system console and turns on Allow removing the "Powered by ButterIX" badge. See System console.
  2. You turn off Show Powered by ButterIX under Docs settings → Header and footer in the editor (the same as powered-by: false in docs.yml); it takes effect once you commit and publish.

Until the administrator allows it, the switch is grayed out, and hovering over it explains that it can't be turned off. See Powered by badge.

Component styles

  • Table skins: <Table skin="framed">, ten in all, adapting to light and dark mode automatically. See Table.
  • Code colors: theme.code, or theme="…" on a single code block. See Code blocks.
  • Column widths: <Columns widths="2 1"> accepts ratios, * and lengths, and you can drag the handles between columns in the editor. See Columns.
  • Styling components with CSS: theme class names all start with bd- and stay stable, and most components also accept className, so you can style individual instances, for example giving cards a gradient background and an accent bar along the bottom. See Styling components with CSS.
docs.yml
css: assets/brand.css

Custom scripts

js loads scripts from your site or external URLs, with strategy choosing when: beforeInteractive (runs synchronously in <head>), afterInteractive (default) or lazyOnload (after the page has loaded, when the browser is idle). See Custom CSS and JS.

Change it in the console

If you'd rather not edit docs.yml by hand, you can make every change above in the editor in the organization console, with a live preview on the right:

Open the editor

Sign in to the console, open your site, and click Edit in the top right to open the editor. Every edit happens in your own draft, so nothing changes on the live site yet.

Change site-wide settings

Click Docs settings in the top right of the editor and pick a category: wide mode and header opacity are under Layout; the announcement bar, footer and Powered by switch under Header and footer; colors and fonts under Brand.

Change a single page

Open the page from the navigation on the left, click Page settings in the top right, and choose a Layout or upload a Hero image. Table skins and column widths are adjusted by selecting the table or columns on the canvas.

Commit and publish

Your changes show up under Files on the left, where you can hover to preview them and revert individual changes. When you're happy, click Commit, then choose Publish to production in the dialog that follows; or send the preview link to a teammate for review first.

Custom CSS, custom scripts and custom footers are separate files: create or open them under Files in the editor, edit them directly, and reference them from docs.yml.

Settings and where to find them

SettingWhere in the editor
Colors, logo, fontsDocs settings → Brand
page-width, content-width, header height, header opacity and blurDocs settings → Layout
Header links, announcement bar (text, link, background, text color), footer links and copyright, Powered by switchDocs settings → Header and footer
Page layout, page hero imagePage settings
Table skins, column widthsThe properties panel of a selected table or columns block; column widths can also be dragged
Custom CSS / JS, custom footer fileEdit the files directly