Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow heading, image, and paragraph blocks within Navigation block #46256

Open
bradhogan opened this issue Dec 1, 2022 · 6 comments · May be fixed by #68268
Open

Allow heading, image, and paragraph blocks within Navigation block #46256

bradhogan opened this issue Dec 1, 2022 · 6 comments · May be fixed by #68268
Labels
[Block] Navigation Affects the Navigation Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@bradhogan
Copy link

What problem does this address?

Currently, you can only add menu links and the social block to the navigation menu, which is limiting for designers - especially for mobile menus. Many platforms allow for multiple types of content to be displayed throughout a menu.

What is your proposed solution?

I suggest we allow users to drop the following blocks into the navigation block (at least for mobile > always) to help improve the design capabilities: Headings, Image, Paragraph and Button blocks.

@Thelmachido Thelmachido added [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement. Needs Dev Ready for, and needs developer efforts Needs Technical Feedback Needs testing from a developer perspective. and removed Needs Dev Ready for, and needs developer efforts labels Dec 6, 2022
@skorasaurus skorasaurus added the [Block] Navigation Affects the Navigation Block label Mar 22, 2023
@talldan talldan removed the Needs Technical Feedback Needs testing from a developer perspective. label Apr 11, 2023
@talldan
Copy link
Contributor

talldan commented Apr 11, 2023

@bradhogan If you have some example use cases, it'd be good to share those.

This is probably related to the discussion in Navigation block: Make nested menus fully customizable (Megamenus). Possibly even a duplicate of that issue.

This comment specifically mentions experimenting with enabling some of those blocks - #23745 (comment).

The problem at the moment is those blocks alone will be quite limited, the navigation block really needs some more layout options to support creating different kinds of menus.

@bradhogan
Copy link
Author

Hey, @talldan. A good example would be if you click the menu button (top right) on this site (IDEO). If this site was built in WP with the FSE and that menu was the navigation block, it would have a column block, menu block, heading, buttons, etc. It would be great to basically have all the block options you want within what would appear in the panel when a mobile nav menu button is clicked.

@Menrath
Copy link

Menrath commented Apr 14, 2023

Another example would be adding a language switcher to the navigation menu.

@mrfoxtalbot
Copy link

This topic came up in the support forums.

@uniquesolution
Copy link

For the custom link whose url we not provide, just put the text, can we make it span instead of a tag? This way we can put simple text in between the menu, For example heading text before dropdown menu etc.

@annezazu
Copy link
Contributor

annezazu commented Sep 2, 2024

Updating this title to remove button as that has been added for a while :) #35924

@annezazu annezazu changed the title Allow heading, image, paragraph and button blocks within Navigation block Allow heading, image, and paragraph blocks within Navigation block Sep 2, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants