Hi there,
Does anyone know whether there is a Link filter property for child isActive?
If not is there a nice way to check the active (current page) status of a child menu item?
I am using the isActive property to style the active menu item in my navigation with:
{% set resolved = link(item.url, { nesting: true }) %}
{% set isActive = resolved.isActive %}
I would also like to set the parent menu item to active when a child menu item is the current page?
Any ideas?
Thanks,
Cy