Relentless -
Changing the stylesheet will not make your headings into links; you need to add the HTML link code to the heading text in tpl_categories.php.
PHP Code:
case '28': //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')
//I would like these Headings,to be links.
. '</span>':'
>Air Conditioning<br />
Split System<br />
Ducted<br /></span>'
. $disp_block_head) . "\n";
break;
You are not using images or dividers here, so you can simplify the code by eliminating those.
You can change the <span> to an <a href=...> using the zen_href_link() function which will automatically give you the link to the category immediately below the heading.
PHP Code:
case '28': //replace number with your desired cPath
$content .= '<a class="catBoxHeading1" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">>Air Conditioning<br />
Split System<br />
Ducted<br /></a>'
. $disp_block_head) . "\n";
break;
You can add styling if you want in the stylesheet:
a.catBoxHeading1:visited {add style);
a.catBoxHeading1:hover {add style);
a.catBoxHeading1:active {add style);
Bookmarks