Mega Menu

Multi level primary site navigation (up to 3 levels); includes account-related menu items (i.e. Donate, Join). Includes implementation of mobile menu.

Assumptions:

  • L1 menu should allow for a minimum of 4 menu items, or a maximum of 5 menu items
  • Clicking on a L1 menu item displays its child L2 menu items (if available) in a drop down.
  • If an L1 menu item has child pages, display a “down” icon (otherwise hide the icon)
  • On click of the L1 menu item, open the drop down menu
  • If L1 link has , remove it from the L2 drop down and display only L2 items
  • Maintain existing mega menu option for content editors to include an image / text / CTA in the drop down menu
  • If an L2 menu item has child pages, display a “ → ” icon (otherwise hide the icon)
  • On click of the “ → ” icon, expand to display L3 pages
  • If L2 link has , remove it from the L3 drop down and display only L3 items
  • Double clicking an L2 menu item with child pages will open the L2 page
  • L3 links will show their parent (L2) as a clickable item at the top of the L3 menu list
  • L4 or deeper pages will NOT be accessible via the mega menu

Issue fork ws_small_y-3476415

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aleevas created an issue. See original summary.

rolki’s picture

Status: Active » Needs work

Hi,
Thanks for working on this, a few small comments, please check it out.

podarok made their first commit to this issue’s fork.

podarok’s picture

Title: Small Y templatesMega Menu » Small Y templates - Mega Menu

  • aleevas committed ac5dd5e7 on 1.0.x
    Issue #3476415: Add some fixes after a review
    

  • aleevas committed ebfcb7b5 on 1.0.x
    Issue #3476415: Add styles for Small Y mega menu
    

  • aleevas committed a4fd6342 on 1.0.x
    Issue #3476415: Add validation for main navigation to have the ability...
podarok’s picture

Version: 1.0.x-dev » 1.0.2
Status: Needs work » Fixed

tnx

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.