Increasing maximum sub-menu depth

Topic summary

Request for guidance on increasing the maximum sub-menu depth in a Shopify store using the Empire theme without installing a plugin. The poster is comfortable editing theme code and wants to know where in the theme files the depth limit is defined and how to adjust it (tags indicate Liquid/theme code). They were directed by Shopify Help chat to seek advice here. No solutions or responses yet; the thread remains open and unresolved.

Summarized with AI on February 14. AI used: gpt-5.

Hello everyone!

looking for some pointers on where and how i can increase the maximum allowed depth of sub-menus within the theme code, i would rather not have to use a plugin for it and am comfortable doing the coding i just need a nudge in the right direction on where it would be located.

Shopify Help chat advised me to ask here but please let me know if this is the wrong place,

Using “Empire” theme

Many Thanks in advance