As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2748429
Aligning
Closed

Comments

  • Anna Goncalves started the conversation

    Why is that I can not align text to the right? I can align to the left and center with css but not right, any suggestions? 


    Thanks


    Ps.: example attached

  • [deleted] replied

    Hi Anna

    Thank you for reaching out to us.

    There's no way to set this up with table or column settings, so you would need to add a custom CSS class to the column you wish to change the alignment for (in column settings, add a custom class, like "totheright"), and then in the "Customize" tab above the table, you can define that class with:

    .wpDataTablesWrapper table.wpDataTable th.totheright {text-align: right !important;}

    This aligns the header. If you wish to align the data in the cells below, use this:

    .wpDataTablesWrapper table.wpDataTable td.totheright {text-align: right !important;}

    If you want to align the entire table you can use the Customize tab and add this code

    table.wpDataTable th { text-align: right !important; } table.wpDataTable td { text-align: right !important; }

    If there is anything else we can assist you with please don't hesitate to contact us.