This question already has an answer here:
I have several sidebars (more then 1 on a page) and I would like to set different image sizes to widgets, depending in which sidebar they are located.
if( ! dynamic_sidebar('my-sidebar') ) :
if ( is_active_sidebar( 'left-sidebar' ) ) :
but this only seems to check if the sidebar's exist (and they do).
How do I get: "if widget is located in sidebar A, give me this size, elseif widget is located in sidebar B, give me that size"?