In Joomla! 6.0, the behavior of submenus changed in the default Cassiopeia template. Submenus are no longer expanded by default and a dropdown toggle symbol is shown.

This behavior may be desirable in many scenarios but not when the submenu is used in a sidebar, as in my case.

Fortunately there is a solution: the behavior can be changed by overriding one file in Cassiopeia, using a template override. What needs to change is the mod_menu module in Cassiopeia.

Quick Steps starting with the main Admin page:

  1. System
  2. Cassiopeia Details and Files
  3. Create Overrides
  4. mod_menu (under Modules)
  5. Editor
  6. html/mod_menu under /templates/cassiopeia
  7. Edit default.php

The instructions on joomla.org are slightly dated. Here's my edit diff as of Joomla 6.2.0: