We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10241
    • 57 Posts
    I have this code for an accordion here:

    <ul class="accordion" id="accordion-6">

    I have been using outerClass but I'm not sure how to get the id to work. That part works with the jquery. It's not my main menu so I don't want to mess too deep with Wayfinder and I'm not that great of a coder. Any suggestions how to get this to work?
      • 5430
      • 247 Posts
      You'll have to create a custom template for the outerTpl setting. Basically all you need is a chunk containing the following

      <ul id="accordion-6" [+wf.classes+]>[+wf.wrapper+]</ul>
      


      Let's say you name that chunk accordion-6, then in your Wayfinder call include &outerTpl=`accordion-6` &outerClass=`accordion`