JAD
02-03-09, 18:45
Hi, I'm in the process of jazzing up my SW Client site, (new to this...so thanks for a great forum with lots of help!..) I am trying to have my Cat List with a hover colour of #A and all the rest with a hover colour of #B.
So, I created a new Class "catlist" and set the new A.catlist:hover etc with CSS. Then I added the new class within the Category_tree.tpl see below:
<!- <a href="{$oCategory->sLink}" class="catlist">
{if $oCategories->iActiveNode == $oCategory->iId}
<strong>{$oCategory->sName}</strong>
{else}
{$oCategory->sName}
{/if}
</a> -->
I then did the same for the Children and Granchildren on the same page.
I now get different colours for my Cat list with my new hover colour, but only on the parent, when the drop down shows it does not change when I put my mouse over the text.
Can anyone help me please, am I doing this correct or is there something I have missed.
Regards
JAD
So, I created a new Class "catlist" and set the new A.catlist:hover etc with CSS. Then I added the new class within the Category_tree.tpl see below:
<!- <a href="{$oCategory->sLink}" class="catlist">
{if $oCategories->iActiveNode == $oCategory->iId}
<strong>{$oCategory->sName}</strong>
{else}
{$oCategory->sName}
{/if}
</a> -->
I then did the same for the Children and Granchildren on the same page.
I now get different colours for my Cat list with my new hover colour, but only on the parent, when the drop down shows it does not change when I put my mouse over the text.
Can anyone help me please, am I doing this correct or is there something I have missed.
Regards
JAD