Make the header match on every page

Every page of your site carries its own copy of the header, the footer and the menu - and copies drift. A page you added last spring still shows the old phone number in the footer; a page brought over from your old site has a menu missing your newest link. Visitors notice this kind of thing without quite knowing why the site feels off.

On a bernard-hosted site the fix is one ask: point at a page that looks right, and ask for the header (or footer, or menu) to match everywhere.

What actually happens

Bernard takes the good version from the page you named and applies it across the site - replacing the drifted copies. Pages with no header at all are left alone unless you ask for one to be added - landing and signup pages often skip the header on purpose. And it is smarter than copy-and-paste in ways that matter:

  • Links are adjusted per page, so a menu that works on your homepage also works from a page tucked two folders deep.
  • The "you are here" highlight follows the page - the menu on your About page still marks About as the current page, not whichever page the copy came from.
  • The styling travels with it - a page that never had this header also gets the styles it needs, so it arrives looking right rather than unformatted.
  • It never stacks a second header. If a page already has its own, different-looking header, bernard won't pile the new one on top - it flags the page and asks what you'd like, so the choice between replacing it and keeping it stays yours.

A good habit: ask bernard to tell you which pages differ first, before changing anything. You get a page-by-page report - matches, drifted, missing - and can decide whether you want the whole sweep or just a couple of pages.

On bigger sites

The sweep runs in batches - around fifty pages per pass - so a large site gets there in a couple of rounds rather than one, and it's worth naming the pages that matter most if you want them done first. It happens in batches, not instantly; the end state is the same either way: one consistent header, everywhere.

How it works

  1. Connect bernard to your AI (once). Log in to bernard, open your site, go to Use your own AI, and paste the setup prompt into your AI to connect it - a one-time setup.
  2. Paste it into your AI - ChatGPT, Claude, Gemini, whichever you already use - then use the prompt above, naming a page that looks right.
  3. Approve. The changes land on a draft with a preview link. Click through a few pages to check the header everywhere, press Approve, and it's live.

Once everything matches, it's a good moment to get the menu itself right - see Reorder my menu and Rename something in my menu.

The prompt

The header on [the page that's wrong] doesn't match the rest of my site - take the version from [a page that looks right] and make the header the same on every page. Tell me which pages differ before you change anything.

Press Copy, then paste it into your AI and fill in the [bracketed] parts. First time? Connect your AI to bernard first - a one-time setup in bernard → your site → Use your own AI.

Questions people ask

How did one page end up with a different header in the first place?
It's the most natural drift there is - a page added later, a page brought over from your old site, or an edit made to one page that never reached the others. Headers and footers live on every page separately, so one page can quietly fall out of step.
Will the links in the menu still work from every page?
Yes - bernard doesn't paste the same block blindly. It adapts the copy for each page so links point the right way from wherever that page sits, and the menu still highlights the page you're actually on.
What if a site-wide change like this goes wrong?
It's contained twice over. Everything lands on a draft first - nothing is live until you approve the preview. And if something ever does slip through, one ask removes the same block from every page again in a single sweep, so an unwanted addition never has to be picked off page by page.
My site has a lot of pages - will it do them all at once?
On a big site it works in batches of about fifty pages at a time, carrying on until every page matches - so a large site may take a couple of rounds rather than one. Either way it all lands on your draft as one tidy change to check, and nothing goes live until you approve the preview.

You might also want to…