-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Submenus possible? #39
Comments
Yes, possible and even pretty simple. I plan on writing some documentation about it. The best way is to use a macro. I'll post a code snippet here in a bit. |
Thanks, that would be very nice :) i need it urgently for a customer project
|
Thanks .. but I'm still confused about the frontend styles for the dropdown at the antimatter theme (i am not a frontend developer). I wish the dropdown styles would be already included within the antimatter theme (a style which looks good and matches to the antimatter theme). I'm willing to donate such a solution, but I need it really quick 👍 Can anyone help here with the styling? |
We're all busy working on other things at the moment. But I did add a cookbook entry in the documentation, and at the bottom are several great tutorials on how to style a dropdown menu that should work fine with just minimal tweaking: |
The page has been remove, where could I find it now? |
I think it got removed since dropdown menus are currently implemented in themes, Antimatter and other ones as well. E.g. https://github.com/getgrav/grav-theme-antimatter#dropdown-menu |
would be great could create custom menus like this menu:
- text: menu
url: https://github.com/getgrav/grav
- icon: submenu here
url: http://twitter.com/getgrav
is there any way for achieve this? thanks |
|
There is no word about submenus - are they possible with the current code?
The text was updated successfully, but these errors were encountered: