We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36700
    • 7 Posts
    I’m close to getting my menu working with wayfinder but I’m stuck in one area.

    The menu looks like it would be easy for wayfinder but i’m having an issue getting the class=current in the a href?

    Any help would be great. Thanks

    -- Original Menu --
    <ul id="menu">
    <li><a href="index.html" class="current">home</a></li>
    <li><a href="portfolio.html">services</a></li>
    <li><a href="services.html">pricing</a></li>
    <li><a href="contact.html">contact</a></li>
    </ul>
      • 36404
      • 307 Posts
      hi,

      this is just because wayfinder templates (chunk or config filess) have the wf.classes in the li tag, but you can put them in the a tag too (on only depending on what you want to do)

      basically the "current" class of wayfinder is "active" but you can change this too

      have swing
        réfléchir avant d'agir