Skip to main content

Navigation

Nectar Navigation Block Icon

The Nectar Navigation block extends the core WordPress Navigation block with a full design system for headers — typography, colors, spacing, borders, hover/active states, link animations, a custom overlay (mobile) menu and styled dropdowns. Inserting it drops in a core Navigation block flagged as Nectar-enhanced, so you keep all of core's menu management while gaining a complete sidebar of Nectar controls.

The enhanced inspector is organized under a Nectarblocks panel with three top-level tabs: Menu Items, Overlay and Dropdowns. Most settings are responsive and many support a hover state. To set a hover value, switch the editor to Hover Mode with the cursor icon in the toolbar, then change the control.

Header State badge​

When the Navigation block lives inside the Header Navigation template part, a badge at the top of the panel shows which header state you're editing (Default, Transparent, Scrolled or Overlay Menu) and any active color variant.

In a state other than Default, these controls can have their own value, with a reset icon on each to return it to the Default value:

  • Menu Items: Spacing, Color, BG Color, Outline and Corner Radius
  • Dropdowns: Dropdown BG, Spacing, Color and BG Color

Font Style, Size, Gap, the link Animation and everything on the Overlay tab apply to every state. See Header States.

The top-level menu links. Split into three sub-tabs: Style, States and FX.

Style​

  • Font Style Apply a typography preset to the menu links.
  • Size Responsive font size, weight, alignment, etc.
  • Gap Horizontal spacing between menu items (0–50, in px or em).
  • Spacing Padding/margin around each link (responsive, with hover).
  • Width / Height Standard Nectar size controls for the menu container, with min and max values.

States​

Two nested tabs: Default and Active (applied to the current menu item).

  • Color Link text color (responsive, hover).
  • BG Color Link background color (solid, responsive, hover).
  • Outline and Corner Radius for the link. On the Active tab, both have an inherit from default toggle so the active link can either match the default style or use its own.

FX​

  • Animation Link hover animation: Default, Reveal, Underline, Underline Alt or Wave.
  • Effects Standard Nectar effects controls (opacity, blur, etc.).
  • Transform Standard Nectar transform controls (translate, rotate, scale, skew).
Nectar Navigation Menu Items tab

Overlay​

Replaces core's responsive overlay with a Nectar-styled mobile/overlay menu and a custom trigger.

  • Display Choose which screen sizes use the overlay: Desktop (1025px and wider), Tablet (768px to 1024px) and Mobile (767px and narrower). Only Mobile is selected by default, and the breakpoints can't be changed.
  • Icon Trigger style: 3 Lines, 2 Lines or Text Only. Selecting Text Only automatically enables Menu Text.
  • Icon Size Trigger size (10–60px, responsive).
  • Menu Source Controls which menu the overlay displays. Defaults to Inherit (reuse the desktop menu); you can also pick any Block or Classic WordPress menu from the dropdown. For fully custom designs, build an Off Canvas Menu template in the Theme Builder — this unlocks full control over the overlay's layout and contents.
  • Menu Text (toggle) Add a text label next to or in place of the icon.
    • Text The label text.
    • Alignment Left or Right of the icon (hidden when the icon is Text Only).
  • Text Color of the overlay menu links (responsive, hover).
  • BG Color Background of the overlay panel (solid, responsive, hover).
  • Close BG Background of the close button.
  • Close Icon Color of the close icon.
  • Font Style Typography preset applied to overlay menu links.
  • Size/Align Responsive font size and alignment for overlay menu links.
  • Item Gap Space between the overlay menu links.

When a menu has nested submenus, the overlay presents them as drilldown sub-panes: tapping a parent item slides in a new pane with its children (and a back control to return), keeping deep menus tidy on small screens rather than stacking everything inline.

The overlay's entrance animation isn't set on the block — it's controlled globally from the Theme Customizer under Header Navigation → Header Off Canvas Menu.

Nectar Navigation Overlay tab

Styles the submenu panels that open from any menu item. Split into Style and States sub-tabs.

Style​

  • Animation How dropdowns open: Fade or Morph.
  • Dropdown BG Background of the dropdown panel (solid, responsive, hover).
  • Font Style Typography preset for dropdown links.
  • Size/Align Responsive font size and alignment for dropdown links.
  • Gap Spacing between items inside the dropdown (0–50, in px or em).
  • Spacing Two nested tabs:
    • Panel — padding/margin around the dropdown panel itself (defaults to 20px on each side).
    • Item — padding/margin around each dropdown link.
  • Outline and Corner Radius for the dropdown panel.

Dropdown panels are at least 250px wide, and there's no width setting. A Megamenu sets its own width.

States​

Two nested tabs: Default and Active (current submenu item).

  • Color Dropdown link text color (responsive, hover).
  • BG Color Dropdown link background color (solid, responsive, hover).
Nectar Navigation Dropdowns tab

Working with menus​

The block uses the core WordPress Navigation block underneath, so you build the menu the usual way: pick or create a menu, then add, reorder and nest items on the canvas. To turn a menu item's dropdown into a rich content panel, nest a Megamenu block inside that item's submenu. Building a Megamenu walks through a full example.

  • Block menus are separate from Appearance → Menus. A menu built in this block is saved as a block menu. Every Create new Menu and every choice under Import Classic Menus saves another one, so the menu dropdown can fill up with copies. Give the menu your header uses its own name under Advanced → Menu name, then use Manage menus to trash the copies you don't need.
  • "(Invalid)" on a menu item means the editor can't find the page that item links to. Delete the item and add the page again.
  • Vertical menus. Nectar Navigation is built for headers and lays its links out in a row. For a vertical menu, in a footer or an Off Canvas Menu template for example, use the regular WordPress Navigation block and set Layout → Orientation to Vertical.

How it works​

The block opts each core Navigation block in to Nectar enhancement by setting an internal marker on the block. Every Nectar control above writes to attributes that are scoped per-block (via a generated blockId) and compiled to CSS that's emitted on both the editor and the front end, so what you see in the editor matches what ships. When the block sits inside the header template part, the same controls can write per-state overrides so the navigation can restyle itself as the header transitions between transparent, scrolled and overlay-open states without duplicating the markup.

  • Megamenu — turn a menu item's dropdown into a full-width content panel.
  • Header Actions — group search, account and cart icons alongside your navigation.