Código para modificar el tamaño de las miniaturas de los productos de WooCommerce en la administración

    add_action('admin_head', 'my_custom_admin_css'); 
     
    function my_custom_admin_css() { 
      echo '<style> 
        table.wp-list-table td.column-thumb img { 
        max-width: 150px; 
        max-height: 150px; 
    	} 
    	table.wp-list-table .column-thumb { 
        width: 152px; 
    	} 
    	table.wp-list-table .column-name { 
        width: 15%; 
    	} 
      </style>'; 
    } 

    Making images bigger may break the rest of the table. Some plugins are adding new columns to products admin page and making it harder to tweek. I have 5 extra columns, 3 from yoast seo, 1 from theme and the last one is from facebook pixel. That’s why i needed to tweek with .column-name. If you have less than you can tweek with;

    table.wp-list-table .column-name { 
        width: 15%;
    }

    Default is 22% and if it looks okey with 22% that remove this 3 lines or you may need to lower the width further.

    Origen: How do I make WooCommerce product thumbnails bigger on the admin page? – Quora


    Herramientas relacionadas

    • WooCommerce

      El plugin para crear tiendas online por excelencia. Tanto de productos físicos como digitales. Es la base para prácticamente cualquier proyecto web que acepte pagos online.