Jump to content

Reports


Jam

Recommended Posts

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");
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated