3200creative
3/18/2015 - 4:15 PM

add class to body dependent on another class existing.

add class to body dependent on another class existing.

jQuery(function( $ ){

	if($('.class-name').length !== 0)
{
  $('body').addClass('class-name-added-to-body');
}

});