Jump to content

How to Right and Left Align the Texts.

Recommended Posts

Use this action hook.


add_hook('AdminAreaHeaderOutput', 1, function($vars)
    if ($vars['filename'] == 'invoices' AND !$_GET['id'])

        $output .= <<<HTML
                    #sortabletbl0 tr td:nth-child(3) {
                       text-align: left;
                    #sortabletbl0 tr td:nth-child(7) {
                       text-align: right;

        return $output;



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

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