Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example showing how to add custom CSS to the Event Espresso Transactions admin page
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
function my_custom_txn_table_column_widths() {
$css =
'.transactions .column-TXN_ID {
width: 8%
.transactions .column-TXN_timestamp {
width: 16%;
.transactions .column-actions {
width: 16%;
wp_add_inline_style('espresso_txn', $css);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.