In this chapter, we will whip up new navigation structures that will help your customers browse your pages with ease.
We will talk about how to:
Show active subcategories only in your categories box
Create separate boxes for each top category
Simplify category box navigation by defining specific colors for each level
Add extra links to your category box
In a default osCommerce setup, the category box holds your categories, and subcategories are displayed in the same box directly below the active category name. This recipe will use the category box for subcategories only while the main categories are displayed in a different menu.
By adding a navigation bar with your top categories at the top of the pages, the category box only needs to be visible if there are subcategories to a category. At all other times, the category box will be hidden to free up the space.