When using WayFinder, it seems to get itsstyle from somewhere else than the used css-file. The current page gets a class called ’active’, but I don’t know where to format that class. Any ideas?
The current page gets a class called ’active’, but I don’t know where to format that class.By default wayfinder will assign a class of active to the current document and it’s parents. It will also by default identify the first document in the menu with a class of .first and .last for the last. This can come in very handy for styling menus.
#mainmenu a:hover {
background:#f0f0f0 url(assets/images/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
}
#mainmenu a.current {
background:#f0f0f0 url(assets/images/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
}#mainmenu a:hover, #mainmenu li.active a {
background:#f0f0f0 url(assets/images/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
}