Skip to content

Mean Menu Refueled for WordPress

Make your site navigation menu mobile-ready.

Category: Tag:

Description

Make your site navigation menu mobile-ready. When the threshold is reached, the targeted menu will collapse into a hamburger menu.
This plugin is a zero-dependency refresh on Mean Theme’s MeanMenu plugin. This means that it does not require jQuery.

A great rundown of the plugin is available on the Planetjon blog.

How To Use

The Mean Menu is configured with the WordPress Customizer in the menu section, and there are several options for customization.

  • Menu target A CSS selector to the closest container where the menu resides. Leave blank for an attempt at auto-detection with ul.menu (The WP default).
  • Menu anchor A CSS selector to the container where the mean menu will reside. If you’re unsure, try body.
  • Bar colour The background colour of the mean menu bar.
  • Menu colour The background colour of the expanded mean menu.
  • Menu close The symbol that will be used when the menu is expanded. This can be any unicode character or HTML entity.
  • Menu open The symbol that will be used when the menu is collapsed. This can be any unicode character or HTML entity.
  • Reveal position The justification of the mean menu state symbol.
  • Reveal position offset Horizontal offset applied to the mean menu state symbol. This is intelligently applied depending on the justification, and has no effect when centered.
  • Reveal colour The background colour of the mean menu state symbol.
  • Responsive threshold The viewport threshold of when the mean menu replaced the standard menu.
  • Nav push Vertical offset applied to the expanded component of the mean menu.
  • Show children Check this to include nested levels in the mean menu.
  • Expandable children Check this to allow nested levels to be expanded and collapsed. Otherwise, nested levels will be displayed by default.
  • Submenu open Requires expandable children. The symbol that will be used when menu children are collapsed.
  • Submenu close Requires expandable children. The symbol that will be used when menu children are expanded.
  • Remove attributes Remove classes and IDs from all elements of the default menu while the mean menu is active.
  • Hide elements A CSS selector to any elements that should be hidden while the mean menu is active.
  • Single Page Site Collapses the mean menu when a menu item is clicked.
  • Container display The CSS display type of the mean menu container. inline, block, flex, etc