Quote from: kylej at Feb 23, 2007, 08:05 PM
yes, you just need to set the css for the menu in your css file.
I figured it out! What you need to do is in the Wayfinder snippet add your style or id (from your stylesheet that is in your website modx template). In the example below I inserted TopNav in the snippet and it used my css! I’m still not sure how to tie it to a chunk but this should work just fine.
//get user class definitions
$wf->css[’first’] = isset($firstClass)? $firstClass: ’TopNav’;
$wf->css[’last’] = isset($lastClass)? $lastClass: ’last’;
$wf->css[’here’] = isset($hereClass)? $hereClass: ’active’;
$wf->css[’parent’] = isset($parentClass)? $parentClass: ’’;
$wf->css[’row’] = isset($rowClass)? $rowClass: ’TopNav’;
$wf->css[’outer’] = isset($outerClass)? $outerClass: ’’;
$wf->css[’inner’] = isset($innerClass)? $innerClass: ’’;
$wf->css[’level’] = isset($levelClass)? $levelClass: ’’;
$wf->css[’self’] = isset($selfClass)? $selfClass: ’’;
$wf->css[’weblink’] = isset($webLinkClass)? $webLinkClass: ’’;