Paste the following code in functions.php and change values as needed:

/* Change number of products and categories per row in shop archives */
add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
    function loop_columns() {
        if ( is_product_category() ) {
            return 3; /* <- number of products per row */
        } else {
            return 4; /* <- number of categories per row */
        }
    }
}

Source: https://stackoverflow.com/questions/38932094/how-to-change-the-number-of-product-categories-per-row-using-woocommerce