[resolved] Style categories differntly with condition of some sort (2 posts)

  1. Zac Gordon
    Posted 8 years ago #


    I am setting up a blog for classes that I teach and have assigned a category for each class. I would like to stylize each class, or category differently. Using category templates I have gotten the styles I want on the categories pages.

    What I would like to do is have the categories keep these styles when the posts appear on pages besides the category pages. For example, on the index page.

    The site is currently at dabrook.org. You can see the styles I am going for on the categories pages.

    Is there a way, possibly using a conditional statement, to determine what category a post is in and then apply a certain style to that post depending on the category?


  2. Zac Gordon
    Posted 8 years ago #

    Ok, this was remedied with an application of multiple loops for each category I wanted to display differently.


Topic Closed

This topic has been closed to new replies.

About this Topic