You can add HTML to a Beaver Builder header in three reliable ways: put it in a Beaver Builder Theme header layout (Themer), inject it through the theme's custom code settings, or place it inside a saved row or HTML module on the page itself. The right route depends on whether the code must load on every page, whether it belongs inside the header markup, or whether it's a one-off embed. Beaver Builder itself is a page and layout builder, so most "header" work happens either in a Themer header layout or in the parent theme's header code; knowing which layer you're editing prevents the most common failure, which is pasting script into a visual editor and watching it get stripped or rendered as visible text.

This guide assumes you're on Beaver Builder (Plugin) with the Beaver Themer add-on for layout-level work, or the Beaver Builder Theme, and that you have an administrator role. Exact menu names can shift between versions, so treat the labels below as the supported method and confirm them against your installed version.

Decide which layer actually needs the HTML

Before touching any editor, answer one question: does this code need to appear on every page, and does it need to sit inside the or the header markup?

Head-level code — analytics tags, meta verification, preload hints, structured data — must go into the document head, and no page builder module can reliably place it there. Use the theme's custom code panel or a dedicated code-snippet plugin instead. Header-region markup — a banner, a promo strip, a language switcher script, a custom call-to-action — belongs in a Themer header layout or a row inside the header area. Content-level HTML — an embed, an iframe, a form snippet — works fine as an HTML module within a row, whether or not that row is part of a header.

Choosing the wrong layer produces predictable symptoms. Script tags pasted into a text editor module often appear as literal text or vanish on save. Conversely, CSS meant for one page placed in global theme settings leaks everywhere. Match the scope of the code to the scope of the container.

Prerequisites and a safe starting point

Have these ready before you begin: administrator access to WordPress, Beaver Builder active, and — for layout work — Beaver Themer installed and licensed. Make a backup or use a staging copy if the site is live. Keep a plain-text copy of the HTML you intend to add, and strip anything you don't recognize; third-party embed code sometimes includes tracking you didn't intend to publish.

A useful habit: test on a single page or a staging site first, confirm the code renders and doesn't break the layout, then promote it to a global header layout. Because header changes affect every page at once, a broken tag is a site-wide problem, not a local one.

Add HTML through a Beaver Themer header layout

This is the cleanest route when the HTML needs to live inside the site header and appear site-wide. Beaver Themer lets you build a header layout with the same drag-and-drop modules as a page, then assign it as the site's header.

1: In the WordPress admin, go to Beaver Builder, then Themer Layouts, and choose Add New. 2: Set the layout type to Header. Give it a title you'll recognize later. 3: Open the layout in Beaver Builder. You'll see a header-shaped canvas with rows. 4: Drag an HTML module into the row where the code should appear — for example, below the logo row for a promo strip, or in a full-width row above the navigation. 5: Click the HTML module and paste your markup into the code field. This field accepts HTML, including