This may be quite a simple one.
I have a DIV with the class .banner-images which usually contains imgs. What I would like to do is change the height of its parent div, #banner-wrapper if the .banner-images is empty.
This is what I have so far:
if ('.banner-image:empty') {
$('#banner-wrapper').css({'height' : '210px'});
};
This should do it:
To check if there are no images in the div do this: