Talk:Changing the style according to article section or category
From Joomla! Documentation
Discussion in Joomla! Forum: [1]
How much PHP can be put into this article? I don't see a way doing it without changing the template's code.
I think, it would be good to add a CSS-File named by the category or category-Id, that will be included by the PHP-Code.
e.g.
IF the file /template/{templatename}/css/categories/{examplecategory}.css EXISTS
THEN include it into Document.
BenniP 10:40, 21 March 2009 (UTC)