Viewing 3 replies - 1 through 3 (of 3 total)
  • If there’s a way of doing this – I would be intersted, too.

    I, am also looking for something to vary the design according to category. perhaps there is a way to do things conditionally, where, if category = x then sidebar content = y or something like that?

    I actually changed my site to have a seperate template for the homepage than for the other pages. The solution was somewhere in this forum under “design”.
    I replaced the following string:
    @import url( <?php echo get_settings(‘siteurl’); ?>path and name of stylesheet );
    with the following one:
    @import url( <?php if ($cat == “1”) {echo “path and name of stylesheet );”;}else{echo “path and name of second stylesheet );”;} ?>
    In the line above I included the url in the path. It works, you can check out my site.
    It is not so pretty (some of the php guys can do it a lot better…)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Separate template for each category’ is closed to new replies.