I would like to enable the Expanding and Collapsing of the menu in the Current Navigation for a Classic Experience SharePoint Site.

Is there any way to achieve this ?


1 Answer 1


Per my knowledge, you can enable the Expanding and Collapsing in the SharePoint Navigation using code. Below articles are about using code to Expand/Collapse for the Quick Launch in SharePoint, which may be helpful to you.



You can add the script into a single page to make it work in one page, or you can add it into the master page if you’d like it to work on all pages in the Site Collection.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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