We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26925
    • 44 Posts
    Please anyone tell me how to have a different styling of a menu item if it is clicked or selected.
    For styling menu items I am using classes.

    Thanks...
      • 28948
      • 42 Posts
      By default the ’active’ item should have a ’class="active"’ assigned.

      From the docs:

      &hereClass
      default: active
      values: name of class
      description: The hereClass will be applied to the current item and to each parent up the document tree.

      So you could add &hereClass=`someClassYouWantApplied` to your Wayfinder call.
        --
        cal wilson
        oksushi.com
        • 4971
        • 964 Posts
        Best response... get the ebook...
        http://www.mercologia.com/revo/index1.html#
        at the end of the first post...
          Website: www.mercologia.com
          MODX Revo Tutorials:  www.modxperience.com

          MODX Professional Partner