[themes] setting class on primary links

Jeremy Weiss jweiss7 at hotmail.com
Wed Aug 27 19:22:55 UTC 2008


seems much of my code got cut, let's try that again:

> Currently I'm calling the primary nav in my theme like so:

print theme('links', $primary_links, array('class' => 'links primary-links'))

> But when it's displayed Drupal is assigning what appear to be random classes to the list items, like:

li class="menu-144

> What's the easiest way to go about applying the desired css to these links? Is there a way to tell Drupal what class to assign?
> 
> Thanks,
> Jeremy


_________________________________________________________________
Get thousands of games on your PC, your mobile phone, and the web with Windows®.
http://clk.atdmt.com/MRT/go/108588800/direct/01/


More information about the themes mailing list