Title: Column alignment
Last modified: March 1, 2019

---

# Column alignment

 *  Resolved [kunalsam99](https://wordpress.org/support/users/kunalsam99/)
 * (@kunalsam99)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/)
 * I want to left align every element in the two tables.So that every element in
   two tables are in orderly manner.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolumn-alignment-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [jaketh94](https://wordpress.org/support/users/jaketh94/)
 * (@jaketh94)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11262727)
 * You would need to do it for both tables but on the settings make sure
    Sorting:
   Enable sorting of the table by the visitor. is ticketd
 * Hope this helps
 *  Thread Starter [kunalsam99](https://wordpress.org/support/users/kunalsam99/)
 * (@kunalsam99)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11262755)
 * i need both the tables to come one below the other in proper alignment.Not talking
   about sorting.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11263438)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * The table content is left-aligned from what I can see, but you might want to 
   set column widths: [https://tablepress.org/faq/column-widths/](https://tablepress.org/faq/column-widths/)
 * Regards,
    Tobias
 *  Thread Starter [kunalsam99](https://wordpress.org/support/users/kunalsam99/)
 * (@kunalsam99)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11270672)
 * I have made four tables i want to **left align all of them with a common width**.
   So that they can be seen one below the other.
 * .tablepress-id-1 .column-1,
    .tablepress-id-1 .column-2, .tablepress-id-1 .column-
   3, .tablepress-id-2 .column-1, .tablepress-id-2 .column-2, .tablepress-id-2 .
   column-3, .tablepress-id-3 .column-1, .tablepress-id-3 .column-2, .tablepress-
   id-3 .column-3, .tablepress-id-4 .column-1, .tablepress-id-4 .column-2, .tablepress-
   id-4 .column-3, { width: 100px; }
 * [https://www.a2atrade.com/czur-et18-pro-vs-czur-et18-plus/](https://www.a2atrade.com/czur-et18-pro-vs-czur-et18-plus/)
 * Need Help [@tobiasbg](https://wordpress.org/support/users/tobiasbg/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11271879)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Please remove the comma `,` after the last line before the `{`.
    In CSS, the 
   last selector must not have a comma at the end.
 * Instead of using `100px` as the value, you could also use `33%`.
 * Regards,
    Tobias
 *  Thread Starter [kunalsam99](https://wordpress.org/support/users/kunalsam99/)
 * (@kunalsam99)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11276223)
 * .tablepress-id-1 .column-1,
    .tablepress-id-1 .column-2, .tablepress-id-1 .column-
   3, .tablepress-id-2 .column-1, .tablepress-id-2 .column-2, .tablepress-id-2 .
   column-3, .tablepress-id-3 .column-1, .tablepress-id-3 .column-2, .tablepress-
   id-3 .column-3, .tablepress-id-4 .column-1, .tablepress-id-4 .column-2, .tablepress-
   id-4 .column-3, .tablepress-id-5 .column-1, .tablepress-id-5 .column-2, .tablepress-
   id-5 .column-3, .tablepress-id-6 .column-1, .tablepress-id-6 .column-2, .tablepress-
   id-6 .column-3, .tablepress-id-7 .column-1, .tablepress-id-7 .column-2, .tablepress-
   id-7 .column-3, .tablepress-id-8 .column-1, .tablepress-id-8 .column-2, .tablepress-
   id-8 .column-3, .tablepress-id-9 .column-1, .tablepress-id-9 .column-2, .tablepress-
   id-9 .column-3, .tablepress-id-10 .column-1, .tablepress-id-10 .column-2, .tablepress-
   id-10 .column-3 { width: 33%; text-align: left; }
 * is there any short form to write this or every time i make a new table and add
   it to the custom css id and column??
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11276440)
 * Hi,
 * you could shorten it to
 *     ```
       .tablepress-three-column-left th,
       .tablepress-three-column-left td {
         width: 33%;
         text-align: left;
       }
       ```
   
 * if you then instead put the word `tablepress-three-column-left` into the “Extra
   CSS classes” text field on the “Edit” screens of the tables 1 through 10.
    By
   using such an “Extra CSS class”, you are basically grouping the tables. The word“
   tablepress-three-column-left” is basically the group name (that you can also 
   change to whatever you like).
 * Regards,
    Tobias
 *  Thread Starter [kunalsam99](https://wordpress.org/support/users/kunalsam99/)
 * (@kunalsam99)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11280378)
 * Thank You
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11280453)
 * Hi,
 * sure, no problem, you are very welcome!
 * Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Column alignment’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * 9 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/column-alignment-6/#post-11280453)
 * Status: resolved