help with drop down 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
toolman
Forum Members
Forum Members
Posts: 51
Joined: Wed Sep 12, 2007 5:10 pm

help with drop down menu

Post by toolman »

Hi there,

I am having truble creating a drop down menu.

I currently have my own homepage template and attached my own stylesheet to it. I have also attached stylesheet Navigation: Simple - Horizontal

I have this code for the menu:

[php]
{menu template='simple_navigation.tpl' number_of_levels='1'}
[/php]


However, it is displaying the main level pages and not creating a drop down menu.

Can someone help me  and tell me what I have done wrong?

Thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: help with drop down menu

Post by Dr.CSS »

1) You tell your menu to only have one level so of course it's not going to have a second level to drop down...

2) If you look at the style sheet you use you may notice it has #primary-nav on most every css call and simple_navigation.tpl has nothing like this in it, that is why there is a cssmenu.tpl to go with the style sheet...
Post Reply

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