0

enter image description here

I am wanting to make my side navigation have a dropdown instead of just indentation. Is that possible?

2
1

On the left Navigation Bar you can't have a drop down effect but on Top level navigation you will get a drop down menu effect by default when add a Heading and add links under that heading.

0

Yes it is possible, Top Navigation bar automatically has dropdown(menu/submenu like html). Do you see any issue here ? For current navigation/quick launch or left navigation we can use REST API.

Use below REST API to get required Navigation items for Global and Current navigation and generate custom html structure to get required dropdown menu.

GET http://server/_api/navigation/menustate?mapprovidername='GlobalNavigationSwitchableProvider'


GET http://server/_api/navigation/menustate?mapprovidername='CurrentNavigationSwitchableProvider'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.