Page 1 of 1

Howto highlight selected menuitem (newbie)

Posted: Tue Oct 31, 2006 2:03 pm
by mjoukain
Hi,

At the first my apologize, just learning cms and web-dev..  :-[

Which "sub-system" is responsible for highlighting/bolding menuitem? Is it done by css, templates or..? I mean simple:

Home
Something
Somethingmore

and when Home is active it's e.g. bolded.

Thanks,
-- MJo

Re: Howto highlight selected menuitem (newbie)

Posted: Tue Oct 31, 2006 2:56 pm
by tsw
menu template can add classes to the rendered ul li hierarchy, from cssmenu.tpl comments:

.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active.

so you can use css to style it with

li.menuactive {
font-weight:bold;
}

hope this helps