Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing Font Color of Single Category Link

Changing Font Color of Single Category Link

Locked

Views: 2,471

Results 21 to 26 of 26
This thread is locked. New replies are disabled.
30 Apr 2010, 3:29 PM
#21
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Changing Font Color of Single Category Link

Oops! I did leave the latter part of the code off. It's been added and I can see the red_menu style referenced in the div id.

Let me know what you think.

30 Apr 2010, 6:27 PM
#22
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Changing Font Color of Single Category Link

Well, we are kind of getting there. Something strange is happening . Just post all that file (preferably zip it and attach it to a post) so I can look at it.....

30 Apr 2010, 7:02 PM
#23
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Changing Font Color of Single Category Link

I've zipped the file and attached it for you to review.

Let me know if you figure out anything. I'm at a complete loss.

30 Apr 2010, 9:03 PM
#24
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Changing Font Color of Single Category Link

This line:

echo '<a class="category-top'.$red_style.'" href="'.zen_href_link(FILENAME_DEFAULT,'cPath=' . (int)$categories_tab->fields['categories_id']).'">';

You have added it in to the file. And you should have altered the line below it to create that line. So, the line is appearing twice effectively which means that the class is not being applied.

Attached is your version - I have commented out the extra line.

30 Apr 2010, 9:20 PM
#25
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Changing Font Color of Single Category Link

OMG it works!! :yes:

Thank you soooo much for all your help!

You're my new ZEN guru!

:clap:

DaKara

30 Apr 2010, 9:27 PM
#26
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Changing Font Color of Single Category Link

Ha Ha! That took a while, eh? Well done for your patience!

Glad it works :smile: