Add custom class to a particular menu I need to know how to add extra class to a perticular menu.For example i have custom menu "menu-header-let",This menu is rendering like below,

&lt;ul class="menu"&gt;&lt;li class="leaf first"&gt;&lt;a title="Redirecting to Help Page" href="/vsv/content1"&gt;Help&lt;/a&gt;&lt;/li&gt;
&lt;li class="leaf"&gt;&lt;a title="" href="/vsv/content1"&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li class="leaf last"&gt;&lt;a title="" href="/vsv/content1"&gt;home2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


Now i want add extra class to the ul like below

   &lt;ul class="header-top-menu"&gt;


I used phptemplate_menu_tree(), but i need different class for each custom menu.If is override menu theme and adding same class for all custom menu.

I have no idea how to add different class when different custom menu renders in drupal.

please help me.
Well, the code in tutorial that beth mentioned has bugs and does not work. The best solution I've found up to now is this:

&lt;?php
function YOUR_THEME_menu_tree($tree) {
  if (preg_match('/A unique string in your menu/', $tree)) {
      return '&lt;ul class="header-top-menu"&gt;' . $tree . '&lt;/ul&gt;';
  } else {
    return '&lt;ul class="menu"&gt;'. $tree .'&lt;/ul&gt;';
  } 
}
?&gt;


You can use any unique path or link title as string to identify the menu. This solution was inspired by a comment in the cited tutorial.