[support] Custom menu theming

sander-martijn sander at sander-martijn.com
Wed Sep 19 13:07:05 UTC 2007


It depends on what styling you need to do.  You can do a lot with css 
and should try that route first.  You can figure out which css to add or 
alter by viewing source and seeing which classes and ids are being 
used.  You likely only have to edit functions if the menu is showing the 
wrong elements, for example if it is showing children that you don't 
want shown.  If it's presnting the correct elements but in the wrong way 
you can probably fix it with css.

Vasileios Lourdas wrote:
> Hi,
>
> I've been adopting a custom html template to a Drupal theme. The theme 
> included a navigation menu (one level only) on the left. I created a new menu 
> with all the corresponding menu items, activated through the blocks page, 
> however now I want to style it the way it was in the template. I've searched 
> for a while, but did not find something appropriate. Which function should I 
> override to accomplish what I want? Besides the primary and secondary links, 
> how do I have access (through variables maybe) to the other menus inside a 
> PHPTemplate page?
>
> Thanks,
>   

-- 
------------------------------------------------------------------------

sander-martijn <mailto:sander at sander-martijn.com>
interface developer | architect
sander at sander-martijn.com <mailto:sander at sander-martijn.com>
www.sander-martijn.com <http://www.sander-martijn.com>

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070919/37d4f9da/attachment-0001.htm 


More information about the support mailing list