Link and :hover styles in Navigation block being overridden by core block styles #62987
Labels
[Block] Navigation
Affects the Navigation Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Likely a symptom similar to discussion at Core block styles are overriding theme.json styles in WordPress 6.6, the
link
and:hover
styles for the Navigation block are being overridden by core block styles. This is a concerning trend, as this overriding is also happening at #62960 in addition to other blocks that have yet to be fixed (#62679 (comment)).Here is the code from
/wp-includes/blocks/navigation/style.min.css?ver=6.6-RC1
that is causing the override:Here is the code it is overriding:
Here is the code I have in the theme.json file seen below in the video
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2024-06-28.at.9.09.52.PM.mp4
Environment info
WordPress 6.6 RC1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: