We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5644
    • 78 Posts
    How to change in Wayfinder tags <li> in navigation? which file should i edit?
      • 22427
      • 793 Posts
      You can modify the &rowTpl and &outerTpl template parameters to your needs.
      The default &rowTpl template is:

      <li [+wf.id+] [+wf.classes+] >
      <a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
      [+wf.wrapper+]
      </li>

      The default &outerTpl template is:

      <ul [+wf.classes+]>
      [+wf.wrapper+]
      </ul>

      Instead of the unordered list you may use any elements you prefer.




        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Create chunks with the HTML for each part, and specify the chunk names in the Wayfinder parameters. See the documentation on Wayfinder for details and examples.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 5644
          • 78 Posts
          Thanks