Update: Changing the theme_menu_tree function in menu.inc correctly applied the class and id to the parent as well as the children. I guess its time to go report a bug.<br><br><div><span class="gmail_quote">On 5/4/07, <b class="gmail_sendername">
Larry Garfield</b> <<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have a look here: <a href="http://drupal.org/node/138656">http://drupal.org/node/138656</a><br><br>I was tackling a different issue there, but the structure for what you want is<br>probably the same. Be sure to see the descriptive text to explain what's
<br>going on. Menu theming is a bit weird in that it jumps in and out of the<br>theme system proper, but you can pull it all into the theme system that way.<br><br>On Thursday 03 May 2007, Mark Ferree wrote:<br>> Drupal by default uses the theme_menu_tree function to apply the class
<br>> "menu" to all menus throughout the site (except for primary and secondary<br>> menus which use a different function). When I did an override of the menu<br>> in 4.7 the parent menu as well as the sub menus were changed, but as of
<br>> version 5 the only class that is changed is the class on the sub-menus.<br>><br>> I have been through the theme handbook several times, as well as searching<br>> the forums and the archives of this list for anyone having similar issues.
<br>> I have a feeling that changing the class isn't something that is done very<br>> often, due to the fact that you can easily modify your css to hook into the<br>> correct "menu" class, unfortunately the javascript menu I am using (udm)
<br>> isn't as flexible.<br>><br>> On 5/3/07, Jason Flatt <<a href="mailto:drupal@oadaeh.net">drupal@oadaeh.net</a>> wrote:<br>> > On Thursday May 3 2007 7:59 am, Mark Ferree wrote:<br>> > > Two days later, and I still am only able to override the class and ids
<br>> ><br>> > of<br>> ><br>> > > the nested sub menus on my site, and not the top level.<br>> ><br>> > You might try using Firebug's inspect feature in Firefox to determine if<br>
> > you<br>> > are overriding the correct classes and/or ids.<br>> ><br>> > --<br>> > Jason Flatt<br>> > <a href="http://www.oadaeh.net/">http://www.oadaeh.net/</a><br>> > Father of Six:
<a href="http://www.flattfamily.com/">http://www.flattfamily.com/</a> (Joseph, 13; Cramer, 11;<br>> > Travis,<br>> > 9; Angela; Harry, 5; and William, 12:04 am, 12-29-2005)<br>> > Linux User: <a href="http://www.kubuntu.org/">
http://www.kubuntu.org/</a><br>> > Drupal Fanatic: <a href="http://drupal.org/">http://drupal.org/</a><br>> > _______________________________________________<br>> > themes mailing list<br>> > <a href="mailto:themes@drupal.org">
themes@drupal.org</a><br>> > <a href="http://lists.drupal.org/mailman/listinfo/themes">http://lists.drupal.org/mailman/listinfo/themes</a><br><br><br>--<br>Larry Garfield AIM: LOLG42<br><a href="mailto:larry@garfieldtech.com">
larry@garfieldtech.com</a> ICQ: 6817012<br><br>"If nature has made any one thing less susceptible than all others of<br>exclusive property, it is the action of the thinking power called an idea,<br>which an individual may exclusively possess as long as he keeps it to
<br>himself; but the moment it is divulged, it forces itself into the possession<br>of every one, and the receiver cannot dispossess himself of it." -- Thomas<br>Jefferson<br>_______________________________________________
<br>themes mailing list<br><a href="mailto:themes@drupal.org">themes@drupal.org</a><br><a href="http://lists.drupal.org/mailman/listinfo/themes">http://lists.drupal.org/mailman/listinfo/themes</a><br></blockquote></div><br>