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

Dropdown Menu #13

Open
k1ngf15h3r opened this issue Sep 13, 2016 · 3 comments
Open

Dropdown Menu #13

k1ngf15h3r opened this issue Sep 13, 2016 · 3 comments

Comments

@k1ngf15h3r
Copy link

Tried to create a new section with child pages and a dropdown menu for them. Can you explain me how to realize a dropdown menu?

@Yethiel
Copy link

Yethiel commented Sep 2, 2017

It also doesn't seem to work for me, although it is enabled in the yaml.

@paulhibbitts
Copy link

paulhibbitts commented Sep 2, 2017

I am using drop-downs with Bones Vanilla, here is the relevant setting in the theme yaml file:

dropdown:
  enabled: true

And I use a standard child collection for the top-level page above the multiple children, I think that was all I did to get it working...

Let me know if the above helps.
Paul
ps - here is a skeleton that uses dropdown menus, it is defaulted to "course-hub-bootstrap" but change it to "course-hub-bones" (based on Vanilla Bones) to hopefully see a working example.
https://github.com/hibbitts-design/grav-skeleton-multi-course-pages-hub-site

@sk33lz
Copy link

sk33lz commented Mar 9, 2018

While @paulhibbitts is correct that the dropdown setting must be enabled in the theme settings, I also figured out the other night that you need to make sure that the pages that you want to have in your dropdown have to have Folder Numeric Prefix enabled on the Options tab on the particular page for them to show up as a child page in dropdown on most Grav themes.

I actually noticed it in a different theme and then tried the setting in Bones Vanilla, as I was having the same issue. I have a feeling this might be @k1ngf15h3r's issue as well.

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

No branches or pull requests

4 participants