Closed (fixed)
Project:
Zen
Version:
6.x-1.0
Component:
CSS/HTML Markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 16:46 UTC
Updated:
27 Oct 2009 at 22:04 UTC
Hi everybody,
with the zen theme, it seems impossible to not show the block title. i have to be wrong with this, do i? when i type "" in the title field, its still displayed...
thanks for every hint,
Nilsja
Comments
Comment #1
mot commentedI used CSS code setting the appropriate elements to display:none; that does not _show_ blog title any longer.
Comment #2
kmontyIf you set "Block title:" to be blank, the title (nor the h2.title element) will show up. block.tpl.php does this for you automatically. Are you sure that it isn't that you are unsetting the Block Description?
Comment #3
buddaAre you not supposed to set the block title to in the Drupal block admin page?
Comment #4
bradnana commentedI think this is what budda was trying to say, but there appears to be a typo in his post. The brief help text under the block title field in the block configuration page reads:
"Override the default title for the block. Use
<none>to display no title, or leave blank to use the default block title."Comment #5
buddadamn html tags being filtered from my comment :)
Comment #6
mot commentedShould be solved now. Enter
<none>to replace the default block title with an empty string that will then have the template to hide the block-title completely.Closed now.
@budda: use the "Preview comment" button to test your comment. To have HTML written out, use the
<code/>tag.Comment #7
weka commentedEntering
<none>inside the Block title: field does not hide the<h2 class="title">tag when using Zen 6.x-1.0.Works fine in Garland 6.14
Comment #8
johnalbinworks fine for me.
If you look at the block.tpl.php in Zen, you'll see that the
is not displayed when there is no title.
Comment #9
weka commentedHi John,
You are correct, the core module blocks work fine.
After some testing, I was able to replicate this problem with the Simplenews and Webform module blocks in both Zen and Blueprint themes. I will report this to the relevant issue queues. Cheers.