WordPress.org

Support

Support » Themes and Templates » Change CSS styling is post is in certain category

Change CSS styling is post is in certain category

  • I’m working with a customized version of the main index page where individual posts each have their headline displayed in a box.

    What I’d like to do is, if a certain post is under a specific category, the default CSS styles for the page would be overridden by new styles that, at the very least, change the box’s background color. I’d also like to be able to change the width of the box as well, if possible.

    Any tricks to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change CSS styling is post is in certain category’ is closed to new replies.