Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Simon Gevcen

Show the column title on 2 rows, rather than taking lots of space horizontally

Dear,

Please check the BEFORE and AFTER screenshots attached.

We are losing too much of space on the screen because the titles are very long, and they can only be shown on 1 row.

Please improve the plugin so that column titles can automatically adapt, and go on 2 or 3 lines if needed.

BEFORE : https://jeriss.tinytake.com/msc/MTAwNzU3NTRfMjM3NDgzMzM

AFTER : https://jeriss.tinytake.com/msc/MTAwNzU3NTVfMjM3NDgzMzQ

Thanks

1 month ago
Stefan van den Dungen Gronovius
Developer

This is a choice by design to not wrap any headers when the feature ‘Horizontal Scrolling’ is enabled. Since we want to keep the number of settings at a minimum, there will be no setting to change that behavior.
As a workaround, you could apply some CSS to let the headers wrap when it does not fit the column width:

add_action('admin_head', function () {
    ?>
	<style>
		body.acp-overflow-table table.wp-list-table.fixed thead tr th,
		body.acp-overflow-table table.wp-list-table.fixed thead tr th.sortable a {
			white-space: wrap;
		}
	</style>
    <?php
});
1 month ago

You must be logged in to reply to this topic.