• Resolved atai

    (@atai)


    Hello, I have a strange problem since yesterday, the products list show the column name too tight so I can’t reed the entire name and options anymore. Is there a way to change the size of this column?

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @atai ,

    Thanks for reaching out!

    Can you please share a clear screenshot of what you are currently seeing on your end so that we can have a better understanding of the exact issue at hand?

    If you do not already have a screenshot tool installed,?Snipboard.io?can be used for easily sharing screenshots.

    Additionally, can you please share the following:

    • System Status Report: navigate to WooCommerce → Status. Select Get system report and then Download for Support. This will download a TXT file that has the contents of the SSR which you can then share with us here.
    • Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.

    Cheers!

    Thread Starter atai

    (@atai)

    this is the link for the image

    https://snipboard.io/0duTN7.jpg

    Now it’s much more better then before but it’ still tight then before

    This is the fatal error log I found:

    2023-11-04T12:15:15+00:00 CRITICAL Uncaught TypeError: Argument 2 passed to Automattic\WooCommerce\GoogleListingsAndAds\Admin\BulkEdit\BulkEditInitializer::bulk_edit_hook() must be an instance of WP_Post, null given, called in /home/customer/www/inomon.net/public_html/shop-it/wp-includes/class-wp-hook.php on line 312 and defined in /home/customer/www/inomon.net/public_html/shop-it/wp-content/plugins/google-listings-and-ads/src/Admin/BulkEdit/BulkEditInitializer.php:34 Stack trace: #0 /home/customer/www/inomon.net/public_html/shop-it/wp-includes/class-wp-hook.php(312): Automattic\WooCommerce\GoogleListingsAndAds\Admin\BulkEdit\BulkEditInitializer->bulk_edit_hook(2865, NULL) #1 /home/customer/www/inomon.net/public_html/shop-it/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/inomon.net/public_html/shop-it/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/inomon.net/public_html/shop-it/wp-includes/post.php(4753): do_action(‘save_post’, 2865, NULL, true) #4 /home/customer/www/ in /home/customer/www/inomon.net/public_html/shop-it/wp-content/plugins/google-listings-and-ads/src/Admin/BulkEdit/BulkEditInitializer.php alla riga 34

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @atai,

    Thanks for sharing a screenshot of what you are seeing on your end, this is very helpful.

    I have compared this to my test sites Products → All product page and they appear to be quite similar.

    If you would like to adjust the column width of the tables on the All Products page, this can be done with custom code.

    Although help with custom code is outside our scope of support, you can try this code snippet, adjusting the column width in the code to your preferences, and see if this does the trick:

    add_action('admin_enqueue_scripts', 'wc_product_list_css_overrides', 998);
    
    function wc_product_list_css_overrides() {
        wp_add_inline_style('woocommerce_admin_styles',
                "table.wp-list-table .column-name{ width: 50%; } table.wp-list-table .column-sku{ width: 9%; } table.wp-list-table .column-is_in_stock{ width: 7%; }");
    }

    Direct Gist link

    I’d strongly suggest using a plugin that allows custom functions to be added to your site, such as the free Code Snippets plugin, rather than adding any code directly to your functions.php file.

    I have tested the code snippet and it works as expected on my end:

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘product name size changed’ is closed to new replies.