-
Notifications
You must be signed in to change notification settings - Fork 47
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Is it possible to create a drop-down menu? #25
Comments
Hi @antoinemeyer5, it's not currently possible in Paige, but I assume it's technically possible to add it. I haven't looked into whether Hugo can do hierarchical menus, but assuming it can, then I imagine it would be straightforward to map that onto Bootstrap dropdown menus in a nav/navbar. A complication might be getting it to work on mobile. See menu.html for how the menu is implemented. Feel free to submit a PR. The general approach in Paige has been to use stock Bootstrap styles and widgets as much as possible. |
Links to deployed sites are encouraged! :) See #12 |
Looks like it would need to be this: https://getbootstrap.com/docs/5.3/components/navs-tabs/#pills-with-dropdowns |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi,
I use your theme and it's great!
I have a question:
I take the architecture of your site as an example.
The idea would be to have a drop down menu when I hover over "Content".
Underneath, "Markdown Syntax Guide", "Rich Content", "Placeholder Text", etc. would appear.
Of course we could say which articles we want or don't want to see in the drop-down menu.
The "Content" page would still exist and be clickable.
Thank you in advance for your answer,
Code-dially
The text was updated successfully, but these errors were encountered: