<a href="http://drupal.org/project/menu_attributes">http://drupal.org/project/menu_attributes</a> might be of help.<br clear="all"><div><br></div><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 8:24 AM, James Bensley <span dir="ltr"><<a href="mailto:jwbensley@gmail.com">jwbensley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have read so many bits of documentation on overriding theme<br>
functions in my template.php and made various attempts but to be<br>
honest, I have just confused my self more and more and now I'm lost.<br>
Can someone lay it out for me, plain and simple what is required of<br>
me?<br>
<br>
I want to assign some CSS to my primary links menu, but there are no<br>
unique identifiers on my primary links;. the first menu item naturally<br>
in Drupal is given class="expanded first active-trail" and the last<br>
has class="collapsed last" but the items in between are just<br>
class="collapsed". I want to apply some CSS to these top level<br>
headings (I'm thinking I could specify a class in the description<br>
field of each menu heading and then have my theme spit this out in the<br>
class="" bit?<br>
<br>
As mentioned before I have been trying, and am failing so I wondered<br>
if someone could tell me from the top, so I understand correctly. I<br>
made a function in template.php, my_theme_name_links() which is a copy<br>
of theme_links() from theme.inc and made some changes, but they aren't<br>
having an effect on my menu links on my site (I have cleared the cache<br>
under Administer > Site Configuration > Performance). I made the same<br>
changes in the original theme_links() function in theme.inc (just to<br>
see it happen) and again, the changes aren't happening on my site. I'm<br>
very confused :(<br>
<br>
--<br>
James.<br>
<br>
<a href="http://www.jamesbensley.co.cc/" target="_blank">http://www.jamesbensley.co.cc/</a><br>
There are 10 kinds of people in the world; Those who understand<br>
Vigesimal, and J others...?<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br>