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 adding (font-)icons to menu items #3819

Open
klonos opened this issue May 27, 2019 · 1 comment
Open

Allow adding (font-)icons to menu items #3819

klonos opened this issue May 27, 2019 · 1 comment

Comments

@klonos
Copy link
Member

klonos commented May 27, 2019

This was initially requested in #1841, but that issue was repurposed to add icons to the Admin Bar. This issue here is the reincarnation of that original request:

We should allow icons to be used in menus. For Drupal, the Icon API module includes the icon_menu submodule that allows:

drupal-contrib-icon_menu

  1. Selecting an icon (from whatever font is provided by the Icon API). Perhaps we should implement it as an auto-complete search field instead of a huge drop-down though.
  2. Selecting to position the icon before or after the menu item title. Perhaps we should also allow replacing the menu item title with the icon as 3rd option. Use case for that: the home icon on the admin bar.
  3. Render the icon in breadcrumbs or not.
  4. Choose to wrap the title in an element tag or not (div or span - 4a) and also define classes for it (4b).
@klonos klonos changed the title Allow adding icons to menu items Allow adding (font-)icons to menu items May 27, 2019
@klonos
Copy link
Member Author

klonos commented Apr 11, 2024

Noting that there's some recent activity in #364 and a PR available that might make this feature here easier to implement 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant