My implementation of template_preprocess_block() isn't working
The $variables['block_id'] variable is based on the number of blocks in a region (see template_preprocess_block(). If you want this for a specific block, despite what region it is in, you should be checking $variables['block']-&gt;delta == 10 instead.