Is there a way to do this? I cannot find it anywhere!

The primary links are displayed by default as:

Link 1 | Link 2 | Link 3 | Link 4

I want to get them to be:

Link 1 Link 2 Link 3 Link 4

Even better still, I would like to know how to make the primary links an

    using CSS. But that might be a bit too much to ask!

Comments

unrev.org’s picture

It was meant to say that I wanted to get the primary links to be displayed as an "ul".

rkerr’s picture

You can try changing theme('links', $primary_links) to theme('item_list', $primary_links).

Or, I have seen someone else do this before:
Add

  • before theme('links', $primary_links) and

afterwards.
Then change the theme('links' .. ) call to be theme('links', $primary_links, '

  • ')
    and that should wrap the items properly.
  • logictude’s picture

    In case you didn't see http://drupal.org/node/44708. It's got a very specific example that should suit your needs.

    rkerr’s picture

    Status: Active » Fixed
    Anonymous’s picture

    Status: Fixed » Closed (fixed)
    unrev.org’s picture

    Thanks for the feedback. The link was very helpful.

    markhalliwell’s picture

    Project: Foundation »
    Version: 4.7.x-1.x-dev »
    Issue summary: View changes