Hey everyone! Here I have attached my project that I’m hacking on right now.
I’ve been experimenting with Categories and Sub categories. Check out my public share LINK
In this example I have created 3 CMS collections.
1- Main Categories.
2- Sub Categories.
In the sub categories, I have 1 reference field that is referencing the main category.
In the stories, I have 2 reference fields. The first is referencing the Main Category and the second is referencing the Sub category.
In the navigation menu I’ve created, after clicking one of the main categories, I want the sub-categories that are referenced to that main category to appear in the drop down menu.
(Click on) Main Nav Link 1
(Then the sub categories appear)
Nav Link Sub Category 1
Nav Link Sub Category 2
Nav Link Sub Category 3
An example of this can be found HERE
ProductHunt uses this in their navigation menu.
If anyone can take a peak at this and help solve this I think it’d be a great resource to the community.
Here is my public share link: LINK