Page 1 of 1

"active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 2:25 am
by duplay
I want to make the "active selected page" menu font Black and the other non-selected pages white. Can this be done?



[gelöscht durch Administrator]

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 6:23 am
by Russ
It is configured in the CSS for the menu.

Hope this helps,
Russ

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 12:17 pm
by duplay
That part I knew, I am looking for deatils on how to do it. Thanks for your time though.

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 12:21 pm
by Dr.CSS
When the page is viewed in browser rite clik view source and you will/should get the class of the active page, use that to do the styling.

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 12:25 pm
by duplay
Thanks Mark! I havent seen you on the boards lately! I will try and take a look.

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 12:35 pm
by amygdela
the CSS class in the {breadcrumb} module is "current", just add

.current {
background: #CCC;
color: #000;
}

to your CSS, should do the trick!

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 12:37 pm
by duplay
Are you sure the breadcrumbs will have a change with the menu text? I will give it a try. Thanks

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 1:10 pm
by squigg
duplay wrote: Are you sure the breadcrumbs will have a change with the menu text? I will give it a try. Thanks
No it won't. I assume you are configuring the default Template, in which case the sections you need to change are:

div#menu_vert a {
  color: #FFF;
}

div#menu_vert ul h3 {
  color: #000;
}

Just add those lines above into the relevant sections in the vertical menu CSS.

Re: "active page" menu font color different from the "non-active" pages?

Posted: Tue Sep 05, 2006 1:20 pm
by duplay
Will I change the above in the template, or in the stylesheet for the menu? Thanks