First off, I'm a PHP noob :/ just to get that out of the way
My goal is to give each Joomla! category a class, so I can pre-style layouts for my client, and when they choose a Category, they would basically be choosing a style (Blog: Portrait w/Text Float, Blog: Landscape Pic w/Text, Blog: Multi-Pic Layout, etc.)
I found this thread for an older version of Joomla, but I received "Undefined Property" errors when I added their code to my index.php http://forum.joomla.org/viewtopic.php?f=466&t=406991
I also tried adding their code to /components/com_content/views/category/tmpl/blog_item.php
Any help would be greatly appreciated, Thanks!
- edit: Using Stock Protostar Template
Update
I'm using "Featured Articles" as my "Blog" Menu Item Type. Since this lists all Featured Articles regardless of Category, my hopes are to use the Categories (BlogStyle1, 2, etc.) to style the Featured Articles. That way, my client can just choose how she wants the blog to be styled, by choosing a category. To be clear, I want articles on the featured blog to have different styles, depending on the category.