Load CSS file per Article Category

Sometimes you want to style articles depending on which category they belong to. Here's how to load category specific CSS files...

First, add this to the very top of your template's index.php file (above the <!DOCTYPE> declaration). If you are using Yootheme or some specific template framework, please look for 'header.php' or 'head.php'

Technologies

JoomlaFreaks is not affiliated with or endorsed by the Joomla Project or Open Source Matters.The Joomla name and logo are used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries. Logos, names/titles, images, photographs, and video, not the intellectual property of JoomlaFreaks, are used with permission and displayed on our website, for illustration purposes only.