In the full site editing themes it seems that this is the case Navigation blocks with a Submenuin the end always the Submenu as collapsed, that is, you must hover over the parent item to reveal the child items (as shown in the header screenshots above).
What I’m looking for is a way to style the menu so that the underlying menu items are displayed by default, as in the footer portion of the image above.
Why? Because I want to configure the entire menu just one, but want to be able to show it expanded if there is room, just like it already does in the header when it is in the mobile dialog menu.
I think it may just not be possible, but I’m curious if anyone has a solution. I am happy with solutions that use the Site editoror even better ones that can be applied directly in the template code
<!-- wp:navigation {"textColor":"accent-1","overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} /-->
^ Is there anything I can add there that would fix it SubmenuShow s expanded by default? That’s how it should be!
The solution I’m going to use now is to just duplicate the menu and have one version where all items are in a flat hierarchy without Submenubut that’s a pain to manage over time, and I’d like to have some room to communicate the parent/child relationship, like in the mobile-only dialog.
#Block #ThemesFSE #Show #navigation #submenus #expanded #default #desktop


