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

mot’s picture

I used CSS code setting the appropriate elements to display:none; that does not _show_ blog title any longer.

kmonty’s picture

If 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?

budda’s picture

Are you not supposed to set the block title to in the Drupal block admin page?

bradnana’s picture

I 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."

budda’s picture

damn html tags being filtered from my comment :)

mot’s picture

Status: Active » Closed (fixed)

Should 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.

weka’s picture

Version: 6.x-1.0-beta2 » 6.x-1.0
Component: Code » CSS/HTML Markup

Entering <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

johnalbin’s picture

works 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.

weka’s picture

Hi 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.