I am trying to set a different headline background image depending on the category the blog is displaying the content for. This should also work for articles not only "browse category".
A few questions
The "style.css" of the template is static and not processed by the smarty engine, correct?
$category is only set if the blog is browsed "by category" and $entry_id is only set if the blog is browsed by single articles (for index.tpl).
Is there a possibility to get the $category number if one does know the $entry_id (single article) in *.tpl files?
Would it be a "correct" approach to modify the inclusion of the serendipity.css in index.tpl like <cat>_serpendipity.css and then handle this in a modified serendipity.css.php or is there a less rude way?
Simply pointing me to examples or documentation is perfectly ok
Thanks,
\Maex