Jam Posted March 6, 2020 Share Posted March 6, 2020 How can I change the text-align in Reports? I wanted it to Left side 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 6, 2020 Share Posted March 6, 2020 2 hours ago, Jam said: How can I change the text-align in Reports? I wanted it to Left side the generic way to do it for all reports would be to use a hook with custom css in it... <?php function jam_reports_css_hook($vars) { if ($vars['filename'] == 'reports') { return "<style>table.table-condensed tr {text-align: left !important;}</style>"; }; } add_hook("AdminAreaHeaderOutput",1,"jam_reports_css_hook"); 0 Quote Link to comment Share on other sites More sharing options...
Magicklug Posted March 12, 2020 Share Posted March 12, 2020 for more information, you can check it on the web. 0 Quote Link to comment Share on other sites More sharing options...
Jam Posted March 13, 2020 Author Share Posted March 13, 2020 On 3/6/2020 at 8:44 PM, brian! said: the generic way to do it for all reports would be to use a hook with custom css in it... <?php function jam_reports_css_hook($vars) { if ($vars['filename'] == 'reports') { return "<style>table.table-condensed tr {text-align: left !important;}</style>"; }; } add_hook("AdminAreaHeaderOutput",1,"jam_reports_css_hook"); thank youu! 0 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.