Free cookie consent management tool by TermsFeed Generator
All Products & Integrations

jalpi page builder docs

Menu

A straightforward navigation menu built from a WordPress menu, with dropdown submenus, hover or click triggers and a collapsible mobile drawer.

Jalpi CoreNavigation
3 min read Β· November 2026

The Menu element (menu) is the lighter of Jalpi's two menu elements. It turns a menu from Appearance → Menus into a styled navigation bar. It does not have mega panels, animation controls or arrow-key navigation: for those, use the Advanced Menu.

MenuAdvanced Menu
SourceWordPress navigation menuWordPress navigation menu
Dropdown submenusYesYes
Mega panels with builder contentNoYes
Hover / click triggerYesYes, with open and close delays
AnimationsNoSix, with duration control
Mobile layoutsOne: left-hand drawerAccordion, Off Canvas, Dropdown
Arrow-key navigationNo (Esc only)Yes
Falls back to a theme menu locationYesNo
  1. Create or edit a menu under Appearance → Menus.
  2. In the editor, add Menu from the Navigation group of the Elements panel.
  3. In the Content tab, choose your menu in Navigation Menu.

If you leave the select on "Select a menu…", the element looks for a menu on its own, trying the theme locations primary, main, menu-1, header and top in that order, then any other assigned location. If none resolves it renders nothing.

ControlOptionsDefault
Navigation MenuAny menu on your siteSelect a menu…
Menu LayoutHorizontal, VerticalHorizontal
Dropdown MenuArrow, Caret, Plus / Minus, No IndicatorArrow
Show SubmenusOn / off. Off hides every nested level.On
Dropdown TriggerHover, ClickHover
Responsive MenuCollapse to Toggle, Always Show Full MenuCollapse to Toggle
Mobile Breakpoint320 – 1440 px768
Menu AlignmentLeft, Center, Right, Space BetweenLeft
Menu WidthSlider, 0 – 1600Auto
Item SpacingSlider, 0 – 80Theme default
ARIA LabelTextMain navigation
GroupControls
TypographyFont size, weight (Light 300 to Bold 700), text transform, letter spacing
ColorsText colour and background for Normal, Hover and Active states
Border & ShadowBorder style, width and colour; border radius; shadow colour, offsets and blur
SpacingPadding, margin and item gap (the item gap, if set, overrides Item Spacing from the Content tab)
DropdownBackground, text colour, minimum width, corner radius, item padding
  • Active state. The current page and every ancestor on its branch are marked active and styled with the Active colours. The current page and its ancestors all receive aria-current="page".
  • Click trigger. Clicking a parent link toggles its submenu instead of following it, except in the collapsed mobile layout where the link is followed and the small arrow button expands the submenu.
  • Edge protection. A submenu that would overflow the right edge of the screen flips to open inward.
  • Mobile. Below the breakpoint, a hamburger button opens a drawer sliding in from the left, up to 320 px or 85% of the screen wide, with submenus stacked inside it. It closes with the hamburger, the Esc key, a tap outside, or by following a link. Choose Always Show Full Menu to disable collapsing entirely.
  • Keyboard. Tab moves through links and the expand buttons, and Esc closes the open submenu and returns focus to its link. There is no arrow-key, Home or End navigation in this element; use the Advanced Menu if you need it.

Things to know

  • The drawer opens from the left only, even on right-to-left sites.
  • The menu has no close button or dimmed backdrop. Visitors close it with the hamburger, Esc, or a tap outside.
  • Right-to-left pages are not specially handled by this element.
The Menu element Content tab with navigation menu, layout, dropdown trigger and mobile breakpoint, beside the rendered menu
Figure: The Menu element's content controls.
  1. Select your menu. Set Menu Layout to Horizontal and Menu Alignment to Right.
  2. Keep Dropdown Trigger on Hover.
  3. In Colors, set Normal, Hover and Active text colours.
  1. Set Dropdown Trigger to Click and Dropdown Menu to Caret.
  2. Parent items now open their submenu on click instead of navigating.
  1. Leave Responsive Menu on Collapse to Toggle.
  2. Set Mobile Breakpoint to 1024 if you want tablets to get the hamburger too.
  3. Check the result in the Tablet and Mobile device views.
Source

Files

includes/elements/class-jalpi-element-menu.php assets/js/jalpi-frontend.js assets/css/frontend.css