Jam Posted February 14, 2020 Share Posted February 14, 2020 I want to re-align the texts. How can I do it? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 14, 2020 Share Posted February 14, 2020 Use this action hook. <?php add_hook('AdminAreaHeaderOutput', 1, function($vars) { if ($vars['filename'] == 'invoices' AND !$_GET['id']) { $output .= <<<HTML <style> #sortabletbl0 tr td:nth-child(3) { text-align: left; } #sortabletbl0 tr td:nth-child(7) { text-align: right; } </style> HTML; return $output; } }); Result: 2 Quote Link to comment Share on other sites More sharing options...
Jam Posted February 17, 2020 Author Share Posted February 17, 2020 Thank you so much!! It works ❤️ 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.