This option worked perfectly. Thank you again for your help and prompt response!



Quote Originally Posted by gjh42 View Post
Alternately, you could duplicate the $content .= line in the case where you want a second heading, since each case only deals with one category.
PHP Code:
      // categories dressing - add (divider and) heading above a cat
      
switch ($current_path) {
      case 
'23'//replace number with your desired cPath
        //$content .= '<hr class="catBoxDivider" />' . "\n";  // to add divider uncomment this line
        
$content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES 'cathead' $current_path '.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES 'cathead' $current_path '.gif') . '</span>':'Big Heading</span>' $disp_block_head) . "\n"
        
$content .= '<span class="catBoxHeading2">' . (file_exists(DIR_WS_TEMPLATE_IMAGES 'cathead' $current_path '.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES 'cathead' $current_path '.gif') . '</span>':'Small Heading</span>' $disp_block_head) . "\n"
      break;
      } 
This would be simpler if you don't have a lot of overlapping headings to juggle.