Sliding Menu
Display hierarchical navigation with sliding submenu transitions and a back control. It is useful for compact mobile navigation, off-canvas menus, and deeply nested category lists.
Setup and First Use
Before starting, enable the relevant element or feature family under Bricks → BricksUltimate → General Elements, save, and reopen the Bricks editor. Integrations also require their corresponding plugin to be active.
- Create a nested WordPress menu or a hierarchical taxonomy with parent and child terms.
- Add (BU)Sliding Menu and choose Source: WP Menu or Taxonomy.
- Select the source menu or taxonomy and configure its relevant filters.
- Choose Animation effect/type, Slide from, transition duration, and Auto Height where needed.
- Style menu items, current/active items, icons, and the back control.
- Test forward navigation into several levels and returning back to the top level.
Controls and Settings
| Control | Purpose and usage |
|---|---|
| Source / WP Menu / Taxonomy | Determines the hierarchy and destinations. Menu links are managed in WordPress; taxonomy results are term-driven. |
| Term filters | Include/Exclude, Disable top level term, Hide empty, Child of, Order by, Order, and Limit refine the taxonomy source. |
| Animation / Slide from / Auto Height | Configure transition direction and behavior for submenu panels of different lengths. |
| Top level items on page load | Controls the initial presentation where offered. |
| Back text / Back Icon | Provide a clear path to the previous navigation level. Style normal and hover states. |
| Sync / Other Menu Items | Use the available synchronization controls deliberately when coordinating multiple menus; test all related instances rather than copying selectors blindly. |
Sliding Menu Versus Accordion Menu
An accordion expands branches in the same vertical list. A sliding menu changes the visible level and relies on the back control. Choose sliding navigation for limited panel space, and keep parent destinations and submenu entry behavior understandable.
Mobile and Accessibility Checks
Ensure back text remains meaningful in translated content and the panel does not shrink while focus is inside it. Test keyboard navigation, touch interactions, long labels, and a child page reached directly rather than only opening the menu from the homepage. Motion should remain short and non-disruptive.
Practical Example
Put a Sliding Menu inside an Off Canvas panel for a shop. Use a product-category hierarchy, label the back control Back, and test categories with three nested levels.
Troubleshooting
- No sliding branch: confirm actual children exist and the intended source is selected.
- Missing terms: review empty, parent, top-level, and limit filters.
- Panel clips the submenu: inspect wrapper width/height and Auto Height.
- Unexpected synchronized behavior: verify Sync settings and selectors.