By id2it on
Hello,
I'm searching for a solution for themeing a multilevel menu.
I have to style the <ul> class in the second level.
http://drupal.org/node/767404#comment-5413366
How to access in custom theme the second menu level? You can only overwrite all menu_tree's.
f.e.
/**
* Implements theme_menu_tree().
*/
function bartik_menu_tree($variables) {
return '<ul class="menu clearfix">' . $variables['tree'] . '</ul>';
}
How to access the link / menu depth?
Comments
Not the best way, but first
Not the best way, but first try. Is it the drupal way?