How to remove "1,2,3" on the left side of menu?

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
jimmychuang
Forum Members
Forum Members
Posts: 76
Joined: Sun Aug 13, 2006 5:35 pm

How to remove "1,2,3" on the left side of menu?

Post by jimmychuang »

How to remove "1,2,3" on the left side of menu?

Chek out here: www.casinobonuswatch.net


Also, how to remove "current page 1" on the left side of "HOME"?
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: How to remove "1,2,3" on the left side of menu?

Post by Russ »

Have a look in the Menu Manager Templates in Modules. I'm not sure which one you are using, but it is usually the

Code: Select all

<dfn>{$node->hierarchy}: </dfn>
That display the numbers, so carefully remove it and save the template. (You may want to save it with a different name or make a backup first.)

I thought there was a way to do this from the calling tag? But I can't seem to see it. Can anybody else help here?

Russ
jimmychuang
Forum Members
Forum Members
Posts: 76
Joined: Sun Aug 13, 2006 5:35 pm

Re: How to remove "1,2,3" on the left side of menu?

Post by jimmychuang »

Russ wrote: Have a look in the Menu Manager Templates in Modules. I'm not sure which one you are using, but it is usually the

Code: Select all

<dfn>{$node->hierarchy}: </dfn>
That display the numbers, so carefully remove it and save the template. (You may want to save it with a different name or make a backup first.)

I thought there was a way to do this from the calling tag? But I can't seem to see it. Can anybody else help here?

Russ
Menu Manager Templates in Modules?  I don't know where to edit it?

I use the default module of the latest CMSMS 1.01
westis

Re: How to remove "1,2,3" on the left side of menu?

Post by westis »

jimmychuang,

In the default templates/stylesheets the tag is hidden with CSS. It is there because of accessibility, to make it easier for blind users to understand wehre they are in the hierarchy.

To hide it with CSS, add this to any stylesheet that is attached to your template:
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}


Or simply attach the stylesheet "Accessibility and cross-browser tools" that comes with the default installation of 1.0.


If you rather want to remove the tags entirely, as Russ suggests, you have to edit the template file for MenuManager (the module that creates the menus). You find those templates in /modules/MenuManager/templates. If you haven't actively selected another menu template you are using simple_navigation.tpl.

For more info, read the help for MenuManager.

Hope that helps.
tigercat

Re: How to remove "1,2,3" on the left side of menu?

Post by tigercat »

Hi westis Thank you That helped me a lot Regards tigercat.
Post Reply

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