We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    I’ve been struggling with this but don’t seem to be getting anywhere so I thought I’d ask for help.

    I’m using the cssplay dropdown menu at http://bobsguides.com.

    I’d like the current page in the menu to have a different color and not be a link.

    I can change the &hereTpl and &parentRowTpl to make it not a link:

    <li[+wf.classes+]>
    	[+wf.linktext+]
    	[+wf.wrapper+]
    </li>


    But, when I do, the active item is no longer styled in the menu (I think it’s because the styling is done on the <a> tag in the .CSS).

    I can style the active <li> to match, but when the parent in the top-level menu is active, I can’t select any of the items on its drop-down list.

    [update]

    This did the trick:

    <li[+wf.classes+]>
    	<a>[+wf.linktext+]</a>
    	[+wf.wrapper+]
    </li>



    Bob

      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting