Closed (fixed)
Project:
Celju
Version:
5.x-1.1
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
17 Jan 2008 at 17:28 UTC
Updated:
15 Mar 2013 at 20:30 UTC
Jump to comment: Most recent
If I don't specify title for a block, then the code looks like this:
[...]
[...]
But h2.title has 1px solid border, so a narrow empty box will appear above a block which has no title.
Comments
Comment #1
Bence commentedOops :) So the code look like this:
Comment #2
jwolf commentedSolution is to edit block.tpl.php as follows:
Note the:
Comment #3
prfctgdess commentedOK, this may sound dumb, but I'm a Drupal newbie, so please bear with me. :P
I'm having this problem too, and I understand your solution, but where do I find block.tpl.php? I can't seem to find it! Thanks.
Comment #4
jwolf commentedblock.tpl.php is located in the theme's directory; it came with the theme.
Comment #5
jefftrnr commentedI believe another solution is to put the string
<none>within the block title field, if you don't want to show the title.Comment #6
Anonymous (not verified) commentedPutting < does not work for me..
Comment #7
Anonymous (not verified) commentedThe Solution provided by Jwolf worked perfectly.
Thanks
Comment #8
sk33lz commentedAdded jwolf's code in #2 to 6.x-1.x-dev, and will also be available in 6.x-1.4 release.
Comment #9
sk33lz commented