I'm trying to style a block in Drupal 7 and I'm having a very hard time figuring things out!
I've used the menu_block module to get all links from the main menu. It produces a block with links in a ul, which I would like to theme as divs for each menu tree.
The styling itself should be easy, but I'm really struggling with finding the theme hook/template filename that I should use to style it.
I've tried to hook into theme_menu_tree
and theme_menu_link
, but they theme way too many places, and I can't see what I'm styling. I've tried menu-tree--menu-block--main-menu.tpl.php
, but the variables are nothing like what I need.
My thought is that I need to style the $content
variable in block.tpl.php
, but I can't figure out how to do it for a specific block. Where should I hook in, if I want to style the menu points when the block (block type) is display (in the footer)?