Add ID to Category navigation in Magento
Posted on 2011-03-12
I'm after a way to add an ID or specific class to each category in my top navigation (particularly the parent categories).
When I view the source of my pages, I can see that each of the parent category links are wrapped inside an LI tag. This LI has various classes set, but the ID="". Not sure where or how to set this.
I'd like to be able to individually style each parent category link on the navbar, and need the ID to set a rule in my style sheet.
I'm using Magento Community 22.214.171.124 and I'd prefer a solution that didn't require editing of the core files :)
Thanks in advance