Keeping sub-links always shown/active??

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
vpuccetti
Forum Members
Forum Members
Posts: 11
Joined: Mon Dec 01, 2008 9:09 pm

Keeping sub-links always shown/active??

Post by vpuccetti »

I am currently using the left simple navigation + 1 column with the layout left sidebar + 1 column, and was wondering how I can make sublinks always active.

I currently have 1 parent navigation link with 3 sub-links, and I actually need them always shown, not just when the parent link is active.

Can anyone help with this?
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Keeping sub-links always shown/active??

Post by reneh »

se help of menumanager
ReneH 8-)
A search will save you hours waiting for an answer! Image
vpuccetti
Forum Members
Forum Members
Posts: 11
Joined: Mon Dec 01, 2008 9:09 pm

Re: Keeping sub-links always shown/active??

Post by vpuccetti »

That really does not help much. I read the "help" for menu manager and it is not very helpful at all, especially in adding paramters to the template.

*Edit* I ended up having to just say "collapse=0" in the template for the navigation that I was using.

One thing I noticed, is that the active page for the sublinks, the text is Black for the active sub-menu page. Where do I find the CSS to change the text color of the sub-menu?
Last edited by vpuccetti on Fri Jul 17, 2009 6:16 pm, edited 1 time in total.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Keeping sub-links always shown/active??

Post by reneh »

just find the css atached to your template containing the menu styling.
If you don't know witch one to edit - try using FireFox WebDev toolbar.
ReneH 8-)
A search will save you hours waiting for an answer! Image
vpuccetti
Forum Members
Forum Members
Posts: 11
Joined: Mon Dec 01, 2008 9:09 pm

Re: Keeping sub-links always shown/active??

Post by vpuccetti »

I know which stylesheet is attached, it is the "Layout: Left sidebar + 1 column"

But I don't know which CSS entry it is suppose to be. The current CSS for the links looks like this:

Code: Select all

a,
a:link {
color: #385C72;
}
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */

   background-color: inherit;
   color: #18507C;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: inherit;
   color: #385C72;
}
I just don't know how CMS Made Simple interprets the sub-menu CSS
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Keeping sub-links always shown/active??

Post by Nullig »

The stylesheet for the menu is usually a separate one to the Layout one. Do you have a menu stylesheet attached?

Nullig
Post Reply

Return to “Layout and Design (CSS & HTML)”