We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42465
    • 33 Posts
    I'm looking to insert some static content at the end of a Wayfinder call and I'm not sure if this is possible. On the responsive version of the site I'm building I have a dropdown menu that is being generated by Wayfinder. At the end of this menu I need a "close" button - preferable set within the mark-up that Wayfinder generates - i.e.
    <ul>
        <li>Wayfinder</li>
        <li>Generated</li> 
        <li>Links</li>
    
        <li>And then my "close" button</li>
    
    </ul>
    
    



    I could change the CSS/ HTML an incorporate <span>close</span> as below but I don't want to do this if it can be avoided as it will have knock on effects throughout the rest of the site.

    		
    <nav>
    	[[Wayfinder? &startId=`0` &level=`1` &hideSubMenus=`0` ]]
    	<span>close</span>
    <nav>
    




    Any solutions?
      • 4172
      • 5,888 Posts
      you can define your own custom-outerTpl

      &outerTpl=`outerTpl`

      and your outerTpl-chunk:

      <ul [[+wf.classes]]>
      [[+wf.wrapper]]
      <li>And then my "close" button</li>
      </ul>
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!