I am working on the portage of Andreas07 template in something which is suiting my needs.
Especially, in the left column, the vertical space between the primary links is too large and the problem comes from the fact that those links are rendered in an unumbered list.
By using static html the problem is solved at rendering this by rendering links displayed in block in place of inline without including them in any list. That's fine and this is what I want.
Thus In my page.tpl.php I have to do something with :
<?php if (isset($primary_links)) { ?>
<?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?>
<?php } ?>
This is saying me that I could modify the function theme_links in the the theme.inc file.
This is not what is right to do I guess. It would be better to create a function theme_links2 in my theme folder but I don't how to set this up.
I saw how to override, but how to add isn't explained or should I simply add theme_links in the theme.inc file ?