A fully customizable navigation module with dropdowns, mega panels, product carousels, embedded forms, and complete style control — no code required.
The module rendered with its default settings — all menu items, mega panels, search, and CTA buttons come straight from the defaults. Icons on every submenu item.
Dark preset with dual CTAs, search enabled, mega menu with featured blog images and an embedded form in the sidebar. Gold accent on dark charcoal.
Logo centered between split menu items, no CTA buttons, clean minimal styling, and a full-width product carousel inside the mega menu panel.
No buttons, no search, no frills. Just the logo and a handful of clean menu items with subtle dropdowns. Perfect for portfolio sites and creative agencies.
Dropdowns open on click instead of hover — ideal for touch-heavy audiences. Try clicking the menu items with dropdowns. Blue accent on clean white, modern SaaS feel.
All four new features in one demo. Products mega panel uses tab layout (hover tabs switch visible content). Resources panel has an embedded video sidebar. Notice the notification dots on Products and Blog. Submenu indicators use the plus icon instead of chevrons.
Layout mode set to Docked: the bar background runs edge to edge and the navigation sits in the page flow instead of floating over it (when Sticky is on, it pins flush to the top). Each menu sets its own dropdown width independently of the bar — Products is a fixed 720px centered in the bar (even though it is the leftmost item), Solutions is 70% of the bar under its menu item, Resources aligns to its menu item. Use the new Dropdown alignment field to center a narrow panel in the bar instead of pinning it to the menu item.
Mega Menu Pro is a standalone HubSpot module — no theme required. Drag it into any page template or add it via a global partial to use it site-wide.
In the module’s Content tab, you’ll find the Menu Items repeater. Each item has a Type field with three options:
Best for simple navigation groups (e.g. About, Contact, Resources). Configure:
Best for content-rich navigation (e.g. Products, Collections, Services). Configure:
Each Dropdown and Mega menu item has its own Dropdown Width field, so the panel width is independent of the navigation bar. This is the fix for full-width bars where the dropdown stretched too wide and felt sparse:
For Auto, Custom and Percentage widths, a Dropdown alignment field controls where the panel sits: Under menu item (default) centers it beneath the link that opened it, while Center of navigation bar always centers it in the bar — useful when a narrow panel on a left-side menu item would otherwise sit far to the left on wide screens.
Under Settings > Layout Mode, choose how the bar sits on the page:
Upload your logo under Content > Logo. You can set separate logos for light and dark presets. Size is controlled from the Style tab under Logo > Max Width / Max Height.
Under Settings > Logo Position:
Controls where menu items sit within the bar: Left, Center, or Right.
Toggle under Content > Search. When enabled, a search icon appears in the action bar. Clicking it reveals an inline search field with HubSpot’s built-in search suggestions.
Add up to 3 call-to-action buttons under Content > CTAs. Each button has text, link, style (primary, secondary, or ghost), and optional modal trigger.
Enable under Settings > Sticky. The nav bar stays fixed at the top of the viewport as the user scrolls. In Floating mode it stays an inset pill; in Docked mode it pins flush to the top edge and reserves its own height so page content never hides beneath it.
Every visual property is controlled from the Style tab — no CSS editing needed. The style system is organized into groups:
Base values that cascade through the entire module:
Controls the main navigation bar appearance:
Style the top-level menu items: text color, hover color, hover background, font size, font weight, padding, and border radius.
Controls the dropdown/mega panel container: background color (with opacity for glass effects), border, radius, shadow, padding, and gap between items.
Style individual items inside dropdowns and mega columns: text color, description color, hover background, hover text, icon color, icon size (default 16px), image radius, padding, and border radius. Icons inherit the icon color and icon size values — use lighter/muted colors for a subtle look.
Column-specific settings: column gap, column title color, font size, font weight, and text transform.
Featured content area style: background color, border radius, featured image radius, tag color, and tag background.
Small labels on menu items (e.g. “New”, “Hot”): background, text color, font size, border radius, and padding.
CTA button styling with three variants:
All share: font size, font weight, padding, border radius, and border width.
The module’s accent color used for active indicators, icon tints, and interactive highlights. Includes main color, hover color, light tint, and status colors (success, warning, error). The default accent is monochrome black (#18181b) for a clean, neutral look out of the box — change it to any brand color.
On screens below the tablet breakpoint (default: 1024px), the menu collapses into a mobile layout:
Available inside Mega-type menu items. Enable under the menu item’s Products toggle.
You can embed a HubSpot form inside any Dropdown or Mega menu item:
The form inherits all module styling automatically — input fields, labels, buttons, and error states all match your Style tab settings. On mobile, the form appears inside the accordion submenu.
The dropdown animation is set under Settings > Animation:
When sticky navigation is enabled, two additional options become available under Settings:
When enabled (default), the navigation bar shrinks as the user scrolls down — padding reduces by 50% and the logo scales to 75% of its original size. Scrolling back to the top restores the original dimensions. The transition is smooth and uses the module’s configured transition speed.
The navigation starts fully transparent (no background, no shadow, no border) and transitions to its configured solid style once the user scrolls past 50px. This is ideal for pages with hero images or videos where you want the navigation to overlay the content at the top of the page.
Both features can be combined — the nav starts transparent and shrinks simultaneously when the user scrolls.
Mega Menu Pro includes full keyboard navigation for accessibility compliance:
The navigation follows the disclosure pattern: each menu button carries aria-expanded and aria-controls pointing at its dropdown, and closed dropdowns are hidden from screen readers and the keyboard.
By default, dropdowns open on hover. Under Settings > Open dropdown on, you can switch to Click mode:
Click mode is recommended for touch-heavy audiences, mobile-first sites, or when mega panels contain interactive content (forms, carousels) that users might accidentally trigger on hover.
If your site has multi-language content, the module automatically shows a language switcher icon in the actions bar. Configure display mode under Settings > Language Display.
Each dropdown/mega item link supports three action types:
Add attention-grabbing labels to any menu item or dropdown link. Set the badge text and choose a style: default (subtle) or accent (colored). Great for highlighting “New”, “Sale”, or “Popular” items.
Both dropdown items and mega column items support an optional Icon field. Icons are rendered as inline SVGs from HubSpot’s built-in FontAwesome 5 icon set.