Hi folks,

I wonder if there is a possibility to tell a menu item which node
is opened to set it active (active trail). I mean, is it possible to
tell a menu item to be active when, for instance, node/66 or
node/67 is open?

thanks alot,

Best regards,
Soezkan

Comments

shadcn’s picture

if you change the path for this menu item to the node path you want this will automatically get the active trail when the node is opened

soezkan’s picture

But supposing I want to have two menu items to be active when a certain node is open? Hwo can I do that?
Actually that is exactly what I want. I want a "main menu"-item still be active while a "sub menu"-item is
active.

I tried with menu trails, but this only works per node-type but not for a single node oder various nodes
at the same time.

Is there a possibility to do so?

Thnaks alot!