Animated Burger
Create an animated menu trigger with customizable lines, an optional icon and label, and an optional nested popup. Use it for compact header navigation or as a visual trigger for an independently configured panel.
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.
- Add (BU)Animated Burger to the header or a navigation wrapper.
- Choose Click under Trigger on for a menu that works on touch devices. Select the animation Effect and Standard or Reverse animation type.
- Set line dimensions, spacing, radius, and normal, hover, and active colors. Give the control a meaningful Aria label such as Open navigation.
- Use the Text section to add or remove the visible Menu label and choose its position.
- For a built-in dropdown, enable Show popup and add the menu or other elements as nested children. Use Preview In-Builder mode to edit that content.
- For a separate Off Canvas panel, configure the panel with a trigger selector matching a class on the burger. Do not also enable an unrelated burger popup for the same click.
Controls and Settings
| Control | Purpose and usage |
|---|---|
| Trigger on | Click or Hover controls the trigger behavior. Do not make essential navigation hover-only. |
| Animation type / Effect | Choose direction and an available line-animation effect, including None. Changing the effect does not create menu content. |
| Lines | Control overall width, line thickness, gap, individual first/third line widths, radius, and state colors. |
| Text | Position the optional label on either side and set its typography and spacing independently. |
| Popup | Enable the built-in popup, preview its contents, and style dimensions, spacing, background, border, shadow, and positioning. |
Choose One Menu Workflow
A burger by itself is not a populated WordPress menu. Add an Accordion Menu or Sliding Menu to its popup, or connect it to an Off Canvas panel. Test the visible active animation against the actual menu state, particularly if a second control closes an external panel.
Responsive and Accessible Use
Keep the trigger reachable when the header changes at mobile breakpoints. Provide sufficient contrast and a large enough clickable area. Test keyboard focus, click, closing, and touch behavior on the frontend; an animated icon alone is not proof of accessible menu operation.
Practical Example
Create a mobile header trigger with a short Menu label and a Spin effect. Nest an Accordion Menu in its popup, style the popup to fit within the viewport, and test a submenu link before publishing.
Troubleshooting
- If the icon animates but no content opens, check whether Show popup is enabled or the external panel selector matches.
- If the dropdown is clipped, inspect ancestor overflow and header stacking. Use Off Canvas placement options when an independent overlay is more appropriate.
- If builder and live behavior differ, save, reload the frontend, and test without overlapping interaction handlers.