We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27444 ☆ A M B ☆
    • 117 Posts
    I need to set the Wayfinder to have the link on the whole li, instead of just on the text.

    I know I need to use the parameters and set up chunks but I’m a bit confused :S.

    Can anyone give me a good example of how to do it?

    Thanks smiley
      Steven James McLean
      Tech Lead
      springbokagency.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Why do you need to do that? For CSS? It is not valid to have <li> tags inside of <a> tags. Nor is it ever necessary.

      What are you trying to accomplish?
        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
        • 27444 ☆ A M B ☆
        • 117 Posts
        My intentions are to set a fixed width to the <li> using CSS, and make the whole <li> a link so that the user can click on the whole <li> not just the text to go to another page.
          Steven James McLean
          Tech Lead
          springbokagency.com
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          li a {display: block;} will take care of that; the <a> tag will expand to take up all the space it can. You’ll probably also need to float them since display: block will normally cause them to display one beneath the other, like any other block-level elements.
            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
            • 27444 ☆ A M B ☆
            • 117 Posts
            That worked perfectly.

            Thanks laugh
              Steven James McLean
              Tech Lead
              springbokagency.com