Can block titles be paths to images?
AngelicLight - July 3, 2009 - 02:16
Hi, there,
I've got some image files I'd like to use instead of the standard block text.
Is it possible to use images instead of text for headers?
Thanks a bunch, everyone,
- Paul

=-=
yes, use css to target the block titles or some conditional statements in block.tpl.php of the theme.
Thank you very much.
Thank you very much.
If I may ask, How would you
If I may ask,
How would you use CSS to do it?
Do you have to make the color of the title the same as the background color in order to "hide" it, then put in your image tag?
If I have a different title "image" for each block, would it be better to put the image in the HTML of the block content and just remove the title completely? I can't think of another way to do it without individual lines of CSS testing for each block module.
Thanks for any more input, and sorry if this is obvious.
- Paul
=-=
the text of block titles can be removed in adminsiter -> blocks -> edit by using no title or
<none>Do you just want fancy fonts?
If so, you can use either the Signwriter (http://drupal.org/project/signwriter) or Dynamic Rendering (http://drupal.org/project/render) module to automatically replace your headings with nicely rendered graphics using a font of your choosing.
I hope this helps.
-G