• Resolved pufftenticle

    (@pufftenticle)


    in my main index template, there is a CSS class call inside a php snippet that says this:

    <div id="content" <?php if (is_home()) { ?>class="home"<?php } ?>>

    i want to do that same thing with about 11 or 12 different category templates, so that i get this:

    <div id="content" <?php if (is_CATEGORY1()) { ?>class="CATEGORY1STYLE"<?php } ?>>

    i have all of the category templates spread out, but can’t for the life of me figure out what to put in there. help ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple PHP/CSS Question ?’ is closed to new replies.