Good Day,

Me again. I was wondering what are the tags for blocks. I am using firefox with webdev add on and I enable the display on ID and class detail to get the tag on the blocks. I am trying to make it look nice by adding some graphics but I just can't get it to work.
Any info is very much appreciated

Thank you,

Mark

Comments

mrgoltra’s picture

looking at the block.tpl.php

print $block->module .'-'. $block->delta; " class="block block- print $block->module ">
if ($block->subject):

print $block->subject

endif;

print $block->content

 

I would assume that these tags should work, right?

css entry

#block-top {
background: url('images/blocktop.gif') top center no-repeat;
}

#block-content {
background: url('images/blockcontent.gif') center repeat-y;
}

#block-bottom {
background: url('images/blockbottom.gif') bottom center no-repeat;
}

I can't get to work.

mrgoltra’s picture

Status: Active » Closed (fixed)

never mind. got it