How to center text vertically after the icons

If you want to center text vertically after the icons, just as I do, you need to add this in your CSS stylesheet (style.css) :

.myicons {
  vertical-align: middle;
}

Add this in your theme files :

get_cat_icon('class=myicons');

If you want to add this in sidebar.php without using the widget, you should have something like this :

if (function_exists('put_cat_icons'))
 put_cat_icons( wp_list_categories('title_li=&echo=0'),'class=myicons'));
else
 wp_list_categories('title_li=');

For the widget, put this in the parameters field :

class=myicons
Category Icons Widget

Category Icons Widget

Please, please, use Firebug to test your CSS settings.