Menu formatting - where do I fix this?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Menu formatting - where do I fix this?

Post by jmcgin51 »

For some reason, the parent level in my menu hierarchy is showing up as in the screenshot.  I never added any formatting specifically for the menu in my stylesheets, so I don't think I did anything that would change this text formatting, and I don't know where to fix it.  Only the highest parent levels are affected.  Children (and grandchildren, etc.) are formatted correctly.

Can anybody point me to the style rule where I can give this Parent the same color/typeset formatting as the rest of the menu (it should be blue-ish and a bit smaller to blend with the rest of the menu...)?

TIA
Torn

[gelöscht durch Administrator]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu formatting - where do I fix this?

Post by Dr.CSS »

Right click and look at the source to see what the "Home" is set to, h3 or menuactive etc. etc. then use that to style it...
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Menu formatting - where do I fix this?

Post by jmcgin51 »

thanks, Mark

the line is coded as follows:
"Current page is 2: Home"

Is that correct for a default menu?  do I need to change the "currentpage" rule or the h3 rule?  how do I know which stylesheet those rules are in?

thx
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Menu formatting - where do I fix this?

Post by jmcgin51 »

I just realized that the incorrectly-formatted text is not always the parent in the menu, instead it is the active selected page.  So if I'm on the "About" page, "About" in the menu will be incorrectly formatted, regardless of whether it is a parent or a child of any other menu items...

I would think this means that I need to change the style rule for the "currentpage" class, but where do I do this?
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Menu formatting - where do I fix this?

Post by jmcgin51 »

I found the answer in an old thread.  For some reason, it appears that 1.02 doesn't include the "currentpage" class rule in any of the stylesheets, so I had to add it and add appropriate formatting.  I don't know now if it looks like it looked in .13, but it's acceptable anyway...

Thanks, Mark, for your help...
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Menu formatting - where do I fix this?

Post by jmcgin51 »

Well, not fixed yet, after all...  The font is now displayed correctly, but when I click on a child of the parent menu item, the child becomes a parent in the menu, and its parent becomes a separate menu item.  See the screenshots if my explanation doesn't make sense.

How do I make the menu behave as it should?  I haven't tried to customize the menu behavior at all, so the default vertical menu behavior is all I'm looking for.

Is there any way to import the default stylesheets, just in case I did mess them up somehow?  Has anyone else had this issue?

[gelöscht durch Administrator]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu formatting - where do I fix this?

Post by Dr.CSS »

Look in the template for the menu tag, {menu template="?"} go to Menu Manager and the second tab is the default menu templates click the little icon to the right of the menu template you are using and it will copy that template, name it, now you are back to the main menu manager page, click the name of the new template find the line that has the in it and delete the calls, in the template use the new menu template {menu template="nameoftemplate"} and you will not have no more...

When you change a style sheet it's a good idea to make a copy to put the changes in so you have the original to fall back on...
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Menu formatting - where do I fix this?

Post by jmcgin51 »

Thanks, Mark.  I'm not sure this entirely addresses the issue, though.  The h3 formatting simply styles the font, but it doesn't do anything about the way the child becomes a parent and forces the original parent to become a separate menu item...  That's what has me really stumped...

Appreciate the help so far!

Torn
Post Reply

Return to “CMSMS Core”