Title: Different CSS for each view.
Last modified: August 22, 2016

---

# Different CSS for each view.

 *  [23kulpamens](https://wordpress.org/support/users/23kulpamens/)
 * (@23kulpamens)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/different-css-for-each-view/)
 * Hi I would like to have different style file for each view in WordPress. I had
   found a partially solution here: [http://wordpress.org/support/topic/changing-location-of-stylecss-with-filters?replies=8](http://wordpress.org/support/topic/changing-location-of-stylecss-with-filters?replies=8)
 * But how to detect from functions.php if I’m calling single.php or category.php.
   I think that there sould be something with add_action, but I can’t figure it 
   out.

The topic ‘Different CSS for each view.’ is closed to new replies.

## Tags

 * [action](https://wordpress.org/support/topic-tag/action/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 0 replies
 * 1 participant
 * Last reply from: [23kulpamens](https://wordpress.org/support/users/23kulpamens/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/different-css-for-each-view/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
