Recursive Nav Question

Hi all,

Say i have

<nav>
  <ul>
    {{ nav max_depth="2" from="/" folders_only="false" }}
    <li class="nav-link{{ if children }} more{{ endif }}">
      <a href="{{ url }}">{{ title|smartypants|widont }}</a>
      {{ if children }}
      <ul class="submenu">
        {{ *recursive children* }}
      </ul>
      {{ endif }}
    </li>
    {{ /nav }}
  </ul>
</nav>

The recursive children li items inherit the parent ul li class "nav-link"

How do i prevent this from happening?

Thanks.

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
2 Replies
1 Follower