Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
I want to add a css class to display if the page is on a parent category page, and another class if it belongs to a sub-category. I am not familiar with zend at all so I wonder if it is possible to have a conditional if statement to either test for whether the category is a parent category, or if the url structure is /category or /category/sub-category.