Skip to content

Navigation: use generic css class names for navigation items #33048

@gwwar

Description

@gwwar

Children of the Navigation Block currently duplicate many CSS rules. This includes the Page List, Navigation Links, Home Link and potentially others.

Instead of duplicating CSS rules, let's add other CSS classes outside of the wp-block-name to provide consistent styling.

We should also be careful that Navigation style and color settings are propagated correctly, and that global and theme styling is handled appropriately.

See related #31879 and conversation in #32677

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions