• Resolved amc8

    (@amc8)


    Some long headers makes those columns unneccessarily wide.
    Is it possible to edit specific column titles?
    Alternatively, how to I change the width of individual columns? (I found the snippet making all columns wider, but I need it more tailored)

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author pimwick

    (@pimwick)

    We are planning on upgrading the grid in the future to support resizing and reordering columns. For now though you can adjust the CSS file to allow the columns to be wider.

    To make this change, follow these steps:

    1. Download the free Code Snippets plugin (https://www.ads-software.com/plugins/code-snippets/)
    2. Create a new Snippet with the following code:

    add_action( 'admin_head', 'pw_bulk_edit_custom_column_width' );
    function pw_bulk_edit_custom_column_width() {
        ?>
        <style>
            .pwbe-results-table-td {
                max-width: 900px !important;
            }
        </style>
        <?php
    }

    If you prefer to add this code to your functions.php you can do that instead of using Code Snippets.

    Adjust the 900px to suit your needs. The default value is 300px and if you want no limit, change the “900px” to “initial”.

Viewing 1 replies (of 1 total)
  • The topic ‘edit column header’ is closed to new replies.