How to Set Up a Custom Home Page (Sidebar Layout)
Introduction
The custom home page lets you replace the default home content area of your help center with your own HTML and Tailwind CSS. It's the easiest way to give your home page a branded landing experience — a hero, a curated grid of categories, a call to action — without leaving the Brainfish dashboard or shipping a separate website.
This feature is available on the sidebar layout only, where the help center has a persistent navigation sidebar and a content area on the right.
Before you start
- Confirm your help center is using the sidebar layout. You can switch layouts under Themes & Customization in the same panel.
- The editor accepts raw HTML with Tailwind CSS utility classes. No build step or external CSS file is needed — Tailwind compiles your classes at runtime.
- You can use Phosphor icons by dropping in tags like
<i class="ph-duotone ph-rocket-launch"></i>. - Theme colors are exposed as CSS variables. Use
hsl(var(--p))for your primary brand colour andhsl(var(--pc))for primary content colour, so your custom home page automatically matches the rest of the help center.
Steps
- Open your help center channel from the Agents screen, then open the Connection Settings panel.
- Scroll to the Themes & Customization section.
- Confirm the layout is set to Sidebar. The custom home page block only appears on sidebar layouts.
- Toggle Custom home page on. A reference template card and an Edit home page button appear below.
- Click Edit home page to open the editor. The first time you open it, the editor pre-fills with a documentation-style reference template (a hero plus a 2×2 grid of cards) so you always have a starting point.
- Use the Write tab to author your HTML. Switch to the Preview tab at any time to see exactly how it will render — the preview uses the same Tailwind compiler and Phosphor icon set as the live help center.
- Click Format to prettify your HTML, or Reset to template to discard your changes and restore the reference layout. You'll be asked to confirm before any in-progress edits are lost.
- When you're happy with the result, click Apply. Apply stays disabled until you've actually changed the template — this prevents accidentally publishing the placeholder copy ("Section title 1", "Your headline here") to your live home page.
- Save the panel using the Save button at the top of Connection Settings to publish your changes to the live help center.
What's allowed in the editor
For security, the editor blocks anything that could ship JavaScript or phishing surfaces to your visitors:
<script>tags and inline event handlers (onclick=,onmouseover=, and otheron*=attributes).<iframe>,<object>,<embed>,<form>,<meta>,<base>,<link>, and<style>tags.formactionandpingattributes.
If you try to apply HTML containing any of the above, the editor shows an error toast naming the disallowed element. The same rules are enforced again at render time, so even if a forbidden tag somehow makes it past the editor, your visitors will never see it execute.
Theming tips
- Brand colors: Wrap colour values in
hsl(var(--p) / <opacity>)or use Tailwind arbitrary values likebg-[hsl(var(--p)/0.08)]andtext-[hsl(var(--p))]to pull your site's primary colour automatically. - Icons: Use either inline SVG or Phosphor classes (
ph-fill,ph-duotone,ph-bold,ph-light,ph-regular,ph-thin). Phosphor stylesheets are loaded for you. - Internal links:
<a href="/articles">and other relative URLs will route through your help center as expected. Usetarget="_blank"for links that should open in a new tab — Brainfish automatically addsrel="noopener noreferrer"so your help center can't be reverse-tabnabbed. - Layout: Templates are typically wrapped in a centered container like
<div class="mx-auto w-full max-w-6xl px-6 py-16">so the content has comfortable side margins on wide screens.
Summary
To customize your home page, switch to the sidebar layout, enable Custom home page in Themes & Customization, author your HTML in the editor, and click Apply followed by Save. The pre-filled reference template is a great starting point — replace its placeholder copy and icons with your own content, preview as you go, and publish when you're ready.
