How do I hide my Sub Menu Items?

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"
Locked
deosil

How do I hide my Sub Menu Items?

Post by deosil »

I have adopted a template and it is going well excepts. I can't figure a way to hide my sub menu items. Here is the page. I would love to hear back from someone.

http://wilde.freepgs.com/aiden/index.ph ... ipsum    ;)

I only want the sub menus to be seen when it is on the parent page.

Thank You

Deosil the Jedi  8)
Last edited by deosil on Mon Apr 16, 2007 10:49 pm, edited 1 time in total.
cyberman

Re: How do I hide me Sub Menu Items?

Post by cyberman »

Please look at MenuManagers collapse parameter ...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How do I hide me Sub Menu Items?

Post by Dr.CSS »

In the Main Menu CSS you can add...

ul.avmenu ul ul {
width:113px;
display:none
}

Extensions > Modules > Menu Manager click the name of module or the word Help to the right of it to get the parameters a module takes...
deosil

Re: How do I hide me Sub Menu Items?

Post by deosil »

I am sorry but I really don't understand what you both just said. I am very new to php but I can get around if you point me in the right direction. Thank You for your help.

Deosil ::)
deosil

Re: How do I hide me Sub Menu Items?

Post by deosil »

Ok I just needed to poke around a bit. I got it. But now I have this numbering thing I am trying to get rid of. If you can help. Thank You Much

Deosil  ;D
deosil

Re: How do I hide me Sub Menu Items?

Post by deosil »

This below made all submenus go away. I just want them to be gone when they are they aren't in parent window.

ul.avmenu ul ul {
width:113px;
display:none
}
Pierre M.

Re: How do I hide me Sub Menu Items?

Post by Pierre M. »

Hello Deosil,
deosil wrote: ... I am very new to php but I can get around if you point me in the right direction.
People with no PHP knowledge can do it. It is not about PHP. Cyberman has pointed you to the right direction : the collapse attribute of the menu tag in the templates.
Log in the admin, see layout, menu management and the doc about the {menu collapse='...'} tag.
Have fun.
Pierre M.
Locked

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