Custom colours for different types of content – broken in WP 4.2
-
In WordPress 4.2, WordPress uses this CSS to do the alternating row colours:
.alternate, .striped>tbody>:nth-child(odd) { background-color: #f9f9f9; }
This is more specific than what this plugin outputs to set the row colour:
.status-pending { background: #fff8e8; }
So the pending status colour only works for even rows, but not for odd ones.
Adding
!important
makes it work again.
- The topic ‘Custom colours for different types of content – broken in WP 4.2’ is closed to new replies.