Multiple Sub navigation

Hi,

I have a question here regarding the navigation.

Say you have a webpage;

Business
|_level 2
. .|_level 3
. . . |_level 4
. .|_level 3
. . . |_level 4
|_level 2
|_level 2

Consumer
|_level 2
. .|_level 3
. . . |_level 4
. .|_level 3
. . . |_level 4
|_level 2

Retail
|_level 2
. .|_level 3
. . . |_level 4
. .|_level 3
. . . |_level 4
|_level 2

If you press on Business, you will only have level 2 nav for that and hide the rest navigation.

Moving MainMenuLink seems to hoist them up no matter where you put them to as the template says Main Menu.

Is there some existing functionality for something like this?
If not, my thought would be to create a template and use maybe parent/child to then decide what to display or maybe do it in the react component.

Litium version: 7.2.3

The main menu uses all pages of the particular template. How many levels it retrieves is decided in NavigationViewModelBuilder.cs.

I don’t think there’s any existing functionality to make it more dynamic, but you could adjust the logic in the builder to take into account where we are on the site right now and go deeper if needed.