Forums / General Questions / Top Sub Cat Category Image Link

Top Sub Cat Category Image Link

Views: 1,260

Results 1 to 7 of 7
20 May 2011, 12:57 AM
#1
factorycycle avatar

factorycycle

New Zenner

Join Date:
Apr 2011
Posts:
13
Plugin Contributions:
0

Top Sub Cat Category Image Link

How do I turn the Top Category text links into Image links?

20 May 2011, 1:13 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,857
Plugin Contributions:
18

Re: Top Sub Cat Category Image Link

Please reply with answers to the posting tips and a link to your site.
Enter it as yoursite DOT com if you want.

It's too much of a WAG without some more info.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

20 May 2011, 4:24 PM
#3
factorycycle avatar

factorycycle

New Zenner

Join Date:
Apr 2011
Posts:
13
Plugin Contributions:
0

Re: Top Sub Cat Category Image Link

How do turn the A.category-links (as listed on the css) into image links? These would be the top level categories only that always display as top hoizontal text links.
You can add images in Admin to the Categories and they will display in the body when tunring on in Admin - Layout settings - Categories-always show on main page, but they do not display on the top hoizontal text links.
Here is the browser code "

<!--bof-optional categories tabs navigation display--> <div id="navCatTabsWrapper"> <div id="navCatTabs"> <ul> <li><a class="category-top" href="http://www.factorymotorcycle.com/index.php?main_page=index&cPath=78">ATV</a> </li> <li><a class="category-top" href="http://www.factorymotorcycle.com/index.php?main_page=index&cPath=101">CRUISER</a> </li> <li><a class="category-top" href="http://www.factorymotorcycle.com/index.php?main_page=index&cPath=1">OFFROAD</a> </li> <li><a class="category-top" href="http://www.factorymotorcycle.com/index.php?main_page=index&cPath=168">SPORT</a> </li> </ul> </div> </div> <!--eof-optional categories tabs navigation display-->"

How do I find this page and what code do I change?

https://www.factorymotorcycycle.com

20 May 2011, 8:36 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Top Sub Cat Category Image Link

That menu is built dynamically, so there are no lines where you can just add <img> code. You could adapt code from Categories Dressing and/or Images for Titles, but the simplest way, not requiring PHP code hacking, would be to use the Ezpages Improved Menus mod from Free Addons, make ez-page internal links enabled for the header pointing to each category, and turn the ez-pages header bar on and categories-tabs off.

9 Jun 2011, 12:54 AM
#6
factorycycle avatar

factorycycle

New Zenner

Join Date:
Apr 2011
Posts:
13
Plugin Contributions:
0

Re: Top Sub Cat Category Image Link

I am willing to do the php hacking and looking for direction of what files to change. All I want do is turn the text links at the horizontal header tool bar into an image link.