Zen Cart Logo
Forums / Addon Sideboxes / Category Dressing Mod. heading txt links

Category Dressing Mod. heading txt links

Locked

Views: 1,828

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
29 Jun 2008, 6:59 PM
#1
relentless avatar

relentless

New Zenner

Join Date:
Sep 2007
Posts:
56
Plugin Contributions:
0

Category Dressing Mod. heading txt links

I am using categories dressing, works great no issues.
2 Questions, I havn non linked Headings column left,
I would like to change to linked Headings.
I have 7 Headings in column left.
these will be text links.
This is the first Heading in column left.

<?php // categories dressing - add (divider and) heading above a cat $disp_block_head = ''; //$disp_block_head = '<br />'; // for heading not block uncomment this line switch ($current_path) { 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; ) ?>

This is the style sheet css call that is for the Cat. Headings
.catBoxHeading1{
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
-Question 1
Does thie convert it to a link css call
.catBoxHeading1:link {
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
.catBoxHeading1:visited {add style);
.catBoxHeading1:hover {add style);
.catBoxHeading1:active {add style);
---Question 2
This question is is how to connect the URL,
to the Heading links. I would use the
first Category to Product link url below each heading,
as seen in Catalog/[Categories/Products]

Thank you.
Relentless

29 Jun 2008, 8:11 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Category Dressing Mod. heading txt links

Duplicate post - answered in Categories Dressing support thread.