How would I add a class coming from a custom field to a widget? I know I should put it somewhere into $before_widget ... in my case this is
'before_widget' => '<aside id="%1$s" class="widget %2$s grid-33'.$color.'">',
I tried using $color and adding
global $post; $color = get_post_meta($post->post_parent, 'bg_color', true );
above, but obviously I am not doing it the right way since it doesn't spit out the color class.