Title: Align / css columns
Last modified: January 30, 2018

---

# Align / css columns

 *  Resolved [cvdw](https://wordpress.org/support/users/cvdw/)
 * (@cvdw)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/align-css-columns/)
 * Hi,
 * Added this css to the plugin options but for some reason I can’t find it’s not
   working well for the tables Quiche and Tafelgarnituren.
 * .tablepress .column-2 {
    padding: 8px 8px; }
 * .tablepress .column-3 {
    padding: 8px 2px; }
 * .tablepress .column-4 {
    padding: 8px 2px; }
 * As far as I can see the Quiche and Tafelgarnituren tables are the same as the
   others but are not lining well. (à, € and price)
 * Is there somewhere hidden code or something?
 * Regards, Carel
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Falign-css-columns%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/align-css-columns/#post-9918263)
 * Hi Carel,
 * thanks for your question, and sorry for the trouble.
 * This CSS actually has no influence on alignment at all. It only reduces the inner
   white space (padding) inside the cells. You are just lucky that the content of
   the other tables pushes these small cells to the right.
 * My recommendation for the tables on this page would be this “Custom CSS”:
 *     ```
       .page-id-16 .tablepress .column-2,
       .page-id-16 .tablepress .column-3,
       .page-id-16 .tablepress .column-4 { 
           padding: 8px 2px;
           width: 16px;
       }
       ```
   
 * We just set a small width to force the columns to have the same width. Note how
   I also used `.page-id-16` to make this apply only to TablePress tables on this
   page of your site (with the internal WordPress page ID 16), but not to all other
   TablePress tables that you have on your site (or might have in the future).
 * Regards,
    Tobias
 *  Thread Starter [cvdw](https://wordpress.org/support/users/cvdw/)
 * (@cvdw)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/align-css-columns/#post-9918448)
 * Thanks, this worked very well for me! Keep doing the good work and enjoy your
   coffee 😉
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/align-css-columns/#post-9921187)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   here in the plugin directory. Thanks!

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

The topic ‘Align / css columns’ 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

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [columns](https://wordpress.org/support/topic-tag/columns/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/align-css-columns/#post-9921187)
 * Status: resolved