Created
December 4, 2014 16:12
-
-
Save DanielSantoro/291fd490e2b148345ad6 to your computer and use it in GitHub Desktop.
Change Order Status Icon Color (Version 2!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wc_order_status_styling() { | |
echo '<style> | |
.widefat .column-order_status mark.on-hold:after, .widefat .column-order_status mark.completed:after, .widefat .column-order_status mark.cancelled:after, .widefat .column-order_status mark.processing:after { | |
font-size: 2em; | |
} | |
/* Processing Ellipsis */ | |
.widefat .column-order_status mark.processing:after { | |
color: #2529d7; | |
} | |
/* On-Hold Dash */ | |
.widefat .column-order_status mark.on-hold:after { | |
color: #555555; | |
} | |
/* Cancelled X */ | |
.widefat .column-order_status mark.cancelled:after { | |
color: #d72525; | |
} | |
/* Completed Checkmark */ | |
.widefat .column-order_status mark.completed:after { | |
color: #32d725; | |
} | |
</style>'; | |
} | |
add_action('admin_head', 'wc_order_status_styling'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment