Forums / Templates, Stylesheets, Page Layout / Changing Categories Menu to <ul>?

Changing Categories Menu to <ul>?

Locked

Started by pixelwrangler on 24 Mar 2009, 3:03 PM · Views: 656

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Mar 2009, 3:03 PM
#1
pixelwrangler avatar

pixelwrangler

New Zenner

Join Date:
Mar 2009
Posts:
59
Plugin Contributions:
0

Changing Categories Menu to <ul>?

I've begun customizing my Zen Cart for a client. I really need to have the Categories Menu be a standard CSS-driven <ul>.

I've looked at the Category Dressing code, plus a couple of sidebox mods, but haven't quite yet grasped exactly how to go about making my Categories Menu into a <ul>.

Can anyone give me some specific examples or point me to some code?

TIA for your suggestions!

24 Mar 2009, 3:08 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Categories Menu to <ul>?

I really need to have the Categories Menu be a standard CSS-driven <ul>
Can you elaborate on Why?
Unk:

People in the desert want ice water

Zen-Venom Get Bitten

24 Mar 2009, 3:16 PM
#3
pixelwrangler avatar

pixelwrangler

New Zenner

Join Date:
Mar 2009
Posts:
59
Plugin Contributions:
0

Re: Changing Categories Menu to <ul>?

Good question. It really has to do with the way I design sites.

To my way of thinking (which is admittedly subjective), a menu is basically just a LIST of related items, semantically.

A group of links has no inherent structure.

So, for most effective, logical design where structure and presentation are handled separately, menus should be LISTS (for structure), styled with CSS (for design)

For this site, the top categories will probably never change, once set. So, even a non-dynamic Categories menu would work out OK.

24 Mar 2009, 3:39 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Changing Categories Menu to <ul>?

Why not just use Categories Dressing? You can turn off any of its features that you don't need, and have the flexibility to do any kind of <ul>-based styling you want. There is a bunch of work in making the subcategory/active/products/etc. class tags that you won't need to repeat.

24 Mar 2009, 3:46 PM
#5
pixelwrangler avatar

pixelwrangler

New Zenner

Join Date:
Mar 2009
Posts:
59
Plugin Contributions:
0

Re: Changing Categories Menu to <ul>?

Yeah, that's the answer - thanks. I went back and had another look at it. I guess I was looking for something more "obvious."

I have been pretty successful in getting about 90% of my ZC installation modified to look like what had been a client's basic design - in one afternoon. I had been avoiding the menu until now.

This afternoon, after I get the menu done, I'm going to see how much fun I can have loading their 30K-item db into ZC!

Thanks again!