How to Theme a Block?

Events happening in the community are now at Drupal community events on www.drupal.org.
ithacaindy's picture

I'm hoping someone has a podcast or tutorial on how to theme a block? I created a block of a view, now I'd like to theme it. (for instance, I'd like to specify the width of the table and place a graphic where the blog author text goes.)

Comments

A bit more detail: I found

ithacaindy's picture

A bit more detail: I found the Block Theme module and a podcast explaining how it works. I just need some help with the OP-specific side of things. For instance, I duplicated the block.tpl.php file in the general folder. I need to a the name of my customblock template to the duplicate. Where do that go? I added it where the podcast suggested (using the Zen theme's block.tpl.php) and my frontpage ad blocks turned blue.

With help of style.css can changeTheme of block

extensive's picture

addup block id in style.css
like as
#block-block-ID (properties of css)
#block-block-ID h2 (properties of css)
#block-block-ID .content (properties of css)
#block-block-ID p(properties of css)

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: