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:
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 modeThe 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:
| Value | Effect | Good for |
|---|---|---|
guide (default) | Standard content width plus the table of contents on the right | Regular docs pages |
overview | Wider content (800px) | Home, index and overview pages |
page | Unlimited content width, no table of contents | Large tables, wide images, dashboard-style content |
reference | Unlimited content width for two-column content | Side-by-side layouts like API endpoints |
custom | No sidebar or table of contents, content centered; no page actions, previous / next links or feedback | Welcome 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:
---
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.
Header
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:
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 offFor 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:
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.
Footer
Default footer
Configure the copyright text, link columns, social icons and top badges under footer:
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: trueSee Footer for every field.
Custom footer
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:
footer: ./footer.mdxThe 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:
- 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.
- You turn off Show Powered by ButterIX under Docs settings → Header and footer in the editor (the same as
powered-by: falseindocs.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, ortheme="…"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 acceptclassName, 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.
css: assets/brand.cssCustom 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.
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
| Setting | Where in the editor |
|---|---|
| Colors, logo, fonts | Docs settings → Brand |
page-width, content-width, header height, header opacity and blur | Docs settings → Layout |
| Header links, announcement bar (text, link, background, text color), footer links and copyright, Powered by switch | Docs settings → Header and footer |
Page layout, page hero image | Page settings |
| Table skins, column widths | The properties panel of a selected table or columns block; column widths can also be dragged |
| Custom CSS / JS, custom footer file | Edit the files directly |