Dropdown Navigation Question

I would like to add the drop down menu functionality that was spoken about in http://learn.getgrav.org/cookbook/dropdown-menu and would like to know two things:

  1. Where do you place this code to enable the functionality
  2. How do you create folders within the user/pages to tell Grav to place them into the navigation tree?

Thanks again.

  1. Actually this dropdown navigation function was included in the antimatter theme a couple of versions ago. To enable it you just need to add a file: /user/config/themes/antimatter.yaml and put in the following:
dropdown: {enabled: true}
  1. You just create folders as you would normally. Ie locally with Finder/Explorer, and remotely with FTP/SFTP etc. You will need to put a markdown file in there for it to show up in the menu.

See the Grav Tutorial for more information.