How this tool works
Create a navigation block without replacing this website’s header. Comma-separated labels receive placeholder fragment destinations; one label | URL per line supplies real destinations. The generated CSS switches to a menu button at 767 pixels. The button maintains aria-expanded and Escape closes the menu. Choose Open layout preview to inspect the generated block in an isolated frame.
Entered brand + up to 20 links + scoped CSS + menu toggle → one standalone navigation snippetA worked example
Home, About, Tools, Contact creates four navigation links. On a narrow installed page the button reveals the list; on a wide page the same links appear in a row. Replace the placeholder fragments with real page sections or complete URLs before publishing.
Good to know
A generator cannot detect your content management system’s styles, JavaScript restrictions or existing headers. The preview blocks external navigation. Use a unique widget ID for each copy, keep link labels short and test keyboard focus on the installed page.
Reference: Official reference (opens in a new tab) ↗
Navigation should describe destinations
A menu is useful when its labels match the tasks people came to complete. Four clear links often serve better than a long collection of ambiguous abbreviations. Reordering links changes emphasis, so keep the most important destinations easy to reach on both screen sizes.
The hamburger is a disclosure button rather than a link. Its expanded state tells assistive technology whether the controlled list is open. Escape returns focus to the button. Visible focus styles remain part of the copied CSS; removing them can make a compact menu harder to use.
Install it in the layout, then check the real destinations
Paste the snippet into a location that permits HTML, CSS and scripts. A visual editor may strip the script or move style elements. Test the installed result with Tab, Enter, Space and Escape and at widths on both sides of the 767 pixel breakpoint. The local preview cannot reproduce every theme rule on the destination website.
A generated fragment such as #contact only works if that section exists. For a separate page, enter Contact | https://example.com/contact/ on its own line. The contact form HTML generator can supply the form layout for that destination, but delivery still requires its own endpoint.
A few questions, answered
Does the menu replace my existing website header?
No. It produces an independent snippet for you to install.
Why are my sample links not opening another page?
Comma-separated labels produce fragment placeholders. Supply real destinations or matching page section IDs.