Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It looks like om_maximenu doesn't pull in classes that have been added to blocks with the block_class module. If you need those additional classes, you can add them in by implementing one of om_maximenu's preprocess function. Here's how I did that:
/**
* Process variables for om_maximenu_content.tpl.php
*
*/
function THEME_preprocess_om_maximenu_content(&$vars) {
// added code to retrieve any classes added by the block_class module
// to the current block, then add this to om_maximenu's rendered output
// (via the $om_classes template variable). need to load the block
// object in order to get that info (which block_class stores in the
// "css_class" column of the {blocks} db table).
$block = block_load($vars['module'], $vars['delta']);
$block_classes_extra = (empty($block->css_class)) ? '' : ' ' . $block->css_class;
$vars['om_classes'] .= $block_classes_extra;
if (!isset($vars['block']['content'])) $vars['block']['content'] = '';
$vars['theme_hook_suggestions'][] = 'om_maximenu_content__' . $vars['module'];
$vars['theme_hook_suggestions'][] = 'om_maximenu_content__' . $vars['module'] . '_' . $vars['delta'];
//dsm($vars);
}