Closed (fixed)
Project:
Navigation
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2023 at 12:49 UTC
Updated:
9 Aug 2023 at 04:59 UTC
Jump to comment: Most recent
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.
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
Comment #2
utkarsh_33 commentedComment #5
lauriiiLooks good! Merged!
Comment #6
utkarsh_33 commented