Nested Submenu block not rendering submenu/overlay colours on the front end #36427
Labels
[Block] Submenu
Affects the Submenu Block - for submenus in navigation
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
If a custom or theme submenu/overlay colour is set on the Navigation block, any Submenu block it contains won't inherit those styles on the front end, because the colour classnames and inline styles aren't rendered in the block. In the editor the colours appear correctly.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The submenu
li
doesn't have the same classnames as the navigation linkli
:Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: