I am trying to limit the number of categories displayed on the top navigation bar so that they do not move onto a second row. I have a left navigation block where I want all of my categories to be displayed, but only want to specify a few categories on the top nav bar.
Does anyone know how to limit the number of categories that the top navigation bar displays?
I have found one other post that tried to use a little PHP code in the top.phtml file to count to a specific number of categories displayed and then stop, but I was unable to get it to work.
Can anyone out there assist? I know there has to be others that are fighting having too many categories to properly display in top navigation properly.
I’m sure this must be a try common problem.