# Struggling to create deeply nested menu

**URL:** <https://community.prismic.io/t/struggling-to-create-deeply-nested-menu/13624>\
**Category:** Developing with Prismic\
**Created:** [July 12, 2023, 7:27am UTC](https://community.prismic.io/t/struggling-to-create-deeply-nested-menu/13624 "2023-07-12T07:27:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![james-dd-36](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@james-dd-36](https://community.prismic.io/u/james-dd-36)\
**Post date:** [July 12, 2023, 7:27am UTC](https://community.prismic.io/t/struggling-to-create-deeply-nested-menu/13624/1 "2023-07-12T07:27:12Z")

</div>

I'm new to Prismic and see that this topic has been mentioned a couple of years ago in the Forum but those posts are using an old API and are no longer relevant.

I'm trying to create a deeply-nested navigation menu with the structure

- Main section Link
  - child link
    - nested child link

I cannot see how this is possible to do as you cannot have a repeatable zone within a repeatable zone.

I followed this guide but it didn't help me with the nested child link part: [Create Navigation Menus with Next.js - Documentation - Prismic](https://prismic.io/docs/navigation-menus-nextjs)

I think this is a really common use-case and it's disappointing that your documentation doesn't even mention that.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 12, 2023, 10:17pm UTC](https://community.prismic.io/t/struggling-to-create-deeply-nested-menu/13624/3 "2023-07-12T22:17:43Z")

</div>

It's true that it's not possible to have a repeatable zone within a repeatable zone. Instead of having this structure, you need to use [Content Relationship fields](https://prismic.io/docs/content-relationship) to represent your nested navigation structure.

You can define the main section links as individual documents and use the Content Relationship field to create the associations between the main section and its child links, and then use the Route Resolver in your project code to create the URLs

> **[Route Resolver](https://prismic.io/docs/route-resolver#example)**
>
> Learn what the route resolver is and how to use it in your project.
