Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mymonkeymind

    (@mymonkeymind)

    I’m also using the Sandbox theme, and the class selectors for individual elements are great. But what I’m looking to do is to style a whole bunch of selectors based upon a particular category or tag.

    Is there a way to put a statement in the single.php page that goes something like:

    if category = dog
    then load dog.css
    else load owner.css?

    Thread Starter mymonkeymind

    (@mymonkeymind)

    Thanks for the response, crayoncrisis. And unless I am misreading the information in the links you provided, I could make a specific template for a category, but that would be used for the category page.

    What I want to do is assign a style sheet for a single post (that applies to all posts) in a category.

    Alternatively, Ideally I would like the ability to do it to a for a single post with a specific tag. It makes no nevermind whether I use tags or categories, I just want to assign a stylesheet to a single item page that is either tagged or categorized to a corresponding item. Did that make sense?

    Did I misread something?

Viewing 2 replies - 1 through 2 (of 2 total)