In wowguild.css you have a CSS id "#block-wowguild-wowguild-recruitment". When it is rendered to drupal, the id of the containing div for the block is "#block-wowguild-wowguild_recruitment". This causes all of your CSS rules to not get evaluated correctly. Screenshots show the problem and solution (though this solution may not be what you wanted to do in the first place).

Comments

ytwater’s picture

I looked on my Garland theme and it's rendering with a (-) dash rather than underscore.

What theme are you basing off? There may be something in it's template.php or maybe it has a block.tpl.php that is changing something?

Perhaps some module is hooking into hook_block_preprocess() or overriding template_preprocess_block()?

The default code to generate the block ID is here: template_preprocess_block()

// Create a valid HTML ID and make sure it is unique.
  $variables['block_html_id'] = drupal_html_id('block-' . $variables['block']->module . '-' . $variables['block']->delta); // $variables['block']->delta would be "wowguild_recruitment"

and in the function drupal_html_id:

$id = strtr(drupal_strtolower($id), array(' ' => '-', <strong>'_' => '-'</strong>, '[' => '-', ']' => ''));  // replace '_' with '-'

Somewhere in your code something is either not printing the proper $variables['block_html_id'], which would be in a *.tpl.php file, or something is overriding that variable, which could be in any module hook_preprocess or hook_template in any of your modules.

justinr1234’s picture

I use the marinelli theme. I'll have to look in to it and report back.