I need to add custom css classes to several blocks (can be blocks from view, or facet api, etc). Is there a way to do it without creating a template for every block? It could be useful a theme function, or a hook, that should do something like:
if ($var == 'block_name') {
$class_custom = 'my-custom-class';
}
Is it possible?