Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Header with Product Categories

Header with Product Categories

Locked

Views: 490

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Nov 2010, 2:50 AM
#1
solotripper avatar

solotripper

New Zenner

Join Date:
Nov 2010
Posts:
41
Plugin Contributions:
0

Header with Product Categories

Sorry if this has been covered a million times...i couldn't find anything on it in a search....

How do i add a new header and include my product categories within it?

I have seen this on other zen sites but I must be missing something.

16 Nov 2010, 2:54 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Header with Product Categories

Admin > Configuration > Layout Settings > Categories-Tabs on/off.

16 Nov 2010, 2:57 AM
#3
solotripper avatar

solotripper

New Zenner

Join Date:
Nov 2010
Posts:
41
Plugin Contributions:
0

Re: Header with Product Categories

Thanks! :clap:

16 Nov 2010, 3:10 PM
#4
solotripper avatar

solotripper

New Zenner

Join Date:
Nov 2010
Posts:
41
Plugin Contributions:
0

Re: Header with Product Categories

I just tried this. It allows me to remove the categories from showing horizontal, but what i'm trying to do is have them displayed within a header....the same header that's at the very top of the page that shows the "home" and "log in" buttons.

Any ideas? Thanks

16 Nov 2010, 5:08 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Header with Product Categories

For that, you would need to edit /includes/templates/your_template/common/tpl_header.php, and move the categories-tabs section of code up to just after the navMain section.

You will probably not be able to put the categories in the same line as Home/Login, because there are several other links that will appear next to those in certain circumstances, and there probably would not be enough room for them all plus categories.

If we can see your site live we can give a better idea of what is possible.

16 Nov 2010, 5:20 PM
#6
solotripper avatar

solotripper

New Zenner

Join Date:
Nov 2010
Posts:
41
Plugin Contributions:
0

Re: Header with Product Categories

This is what I'm looking to do

http://www.axiscycles.com.sg/catalog/

Note how under his main logo header he has categories that are contained within a wide header....(brown in color)

16 Nov 2010, 7:16 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Header with Product Categories

That is the stock categories-tabs menu, with a little bit of styling.