Problem/Motivation

Active navigation links should be highlighted in the menu. While the designs are being finalized, let's work on marking the active menu links so that the current page receives "is-active" class and the parents of that link receive "is-active-tree".

For example, if /admin/content/files is the current page, we would get following elements:

<a href="/admin/content" class="is-active-tree">
<a href="/admin/content/files" class="is-active">
<a href="/admin/structure">

This could be implemented similarly on the client side with #3371005: Toolbar doesn't indicate active menu trail for pages not included in Toolbar.

Issue fork navigation-3375266

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

lauriii created an issue. See original summary.

utkarsh_33’s picture

Assigned: Unassigned » utkarsh_33

lauriii’s picture

Status: Active » Fixed

Looks good! Merged!

utkarsh_33’s picture

Assigned: utkarsh_33 » Unassigned

Status: Fixed » Closed (fixed)

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