Active
Project:
World of Warcraft Guild Hosting
Version:
7.x-4.0-alpha12
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2012 at 21:55 UTC
Updated:
28 Jul 2012 at 06:38 UTC
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).
| Comment | File | Size | Author |
|---|---|---|---|
| wowguild_recruitment_block_problem_css_fixed.png | 24.56 KB | justinr1234 | |
| wowguild_recruitment_block_problem_fixed.png | 122.91 KB | justinr1234 | |
| wowguild_recruitment_block_problem_css.png | 17.35 KB | justinr1234 | |
| wowguild_recruitment_block_problem.png | 126.17 KB | justinr1234 |
Comments
Comment #1
ytwater commentedI 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()
and in the function drupal_html_id:
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.
Comment #2
justinr1234 commentedI use the marinelli theme. I'll have to look in to it and report back.