You need to edit the theme’s functions.php so that it adds appropriate classes & ids to each of your widgets.
http://codex.wordpress.org/Function_Reference/register_sidebar
I´m already registering the sidebar widgets, i´m putting li class=”widget” and /li to each widget, and the title goes with h4 tags. The problem is just with the tag cloud widget, specifically with the div it uses to contain the tags. As it is generated by the widget, it comes with no class, wich is a bit of a problem
http://codex.wordpress.org/Function_Reference/register_sidebar
check particular this line:
'before_widget' => '<li id="%1$s" class="widget %2$s">',
this %2$s
will generate a distinct class for each widget.
Thanks Alchymyth! Didn´t know those expressions could generate that! Too bad it´s not clearly mentioned in the codex! (or maybe i´m overseeing it).
That got my issue fixed!
Very useful, but I have a question: how can i get the exact class of the tag cloud and put it in my css?