Collapse sections in sidebar (Web)
Display only section names instead of a long list of items, when users are accessing a course. Collapsed sections allow users to look at all the section titles at once.
How to collapse sections:
Go to Settings → General → Course player (Collapse sections in sidebar) Tick the box next to collapse sections to activate it.
Please note: If activated, collapse sections will apply to all courses