We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17088
    • 2 Posts
    I am trying to put a <span> tag around a wayfinder menu link but not having success.
    This is the wayfinder menuRows chunk that I am trying to get to incorporate the <span>.

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

    Help would be much appreciated.
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      This should do the trick:

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

      Or am I not following?
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 17088
        • 2 Posts
        That didn’t quite work - but with a little trial and error - this did! So posted if it helps others.

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

        Thank you