Answer the question
In order to leave comments, you need to log in
How to make a menu in Modx using pdo tools?
How to make such a menu using pdo tools? There was a problem with the li classes. Tell me please
<div class="menu" id="nsv1">
<ul class="navbar-nav">
<li class="nav-item active"><a class="nav-link" href="#hero">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
<li class="nav-item"><a class="nav-link" href="#work">How It Work?</a></li>
<li class="nav-item"><a class="nav-link" href="#process">Process</a></li>
<li class="nav-item"><a class="nav-link" href="#download">Download</a></li>
<li class="nav-item"><a class="nav-link" href="#pricing">Pricing</a></li>
<li class="nav-item"><a class="nav-link" href="#blog">Blog</a></li>
</ul>
</div>
Answer the question
In order to leave comments, you need to log in
Hello, using pdoMenu - https://docs.modx.pro/komponentyi/pdotools/snippet...
There is an example of an item template - &tpl, in your case it will be like this:
&tpl=`@INLINE <li class="nav-item "><a class="nav-link" href="#" ></a></li>`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question