Skip to content

Instantly share code, notes, and snippets.

@eder-dias
Created May 21, 2017 00:18
Show Gist options
  • Save eder-dias/482203e5bd9dfc4ce8b74201155eb4a3 to your computer and use it in GitHub Desktop.
Save eder-dias/482203e5bd9dfc4ce8b74201155eb4a3 to your computer and use it in GitHub Desktop.
Increase images in admin Woocommerce orders
//aumentar as imagens nos pedidos do woocommerce
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
echo '<style>
#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail{width:150px!important; height:150px!important}
#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody#order_line_items tr:first-child td{color:#000!important;font-weight:bold!important}
#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .view{color:#0099d5!important;background:#e5f5fb!important;}
</style>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment