Zendesk: add color to priorities in Views
⚠️ You are reading a post that has been archived. This means the content:
- could be very old (up to 15 years!)
- could not be accurate anymore
- could not represent the views of the author anymore
- could be in le French
It’s a very, very minor addition but I tweaked our Zendesk CSS to show some colours next to each ticket’s priority level. I didn’t use the Zendesk score feature so I removed that column from the Views we have but I wanted to know, by having a quick glance, how many low, normal or urgent requests we had.
The solution
Except from priority_normal, each priority has its own CSS class. So I simply added to my custom CSS the following code to add some colors (obviously, blue is “relaaax” and red is “WTFBBQ!11!!”)
priority_urgent{ color:red;}
.priority_high{ color:orange;}
.priority_low{ color:blue;}
The result

The source Available here.