Title: Rows height
Last modified: September 20, 2017

---

# Rows height

 *  Resolved [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/)
 * Hello,
 * How can i change rows height to smaller ?
 * f.e. this work when is heigher, but smaller f.e. 12px not :/
    .tablepress-id-
   1 .row-2 td { height: 40px; }

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516104)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Setting the height will usually not work, but setting the padding should:
 *     ```
       .tablepress-id-1 .row-2 td {
         padding-top: 2px;
         padding-bottom: 2px;
       }
       ```
   
 * If not, can you please post a link to the page with the table where this problem
   happens, so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516561)
 * It works, big thanks ! 🙂
 *  Thread Starter [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516592)
 * i have another problem with center table
 * i used for table id width: auto; margin: 0 auto 1em; and it works when 1st header
   row is unmarked, table is center. I want pagination so i must marked 1st header
   row, but then table is align to left :/ Its a solution for this ?
 * ok i fixed it 😛
 * NOW problem: its possible to change height of header row ?
 * .tablepress-id-1 .row-1 td {
    padding-top: 2px; padding-bottom: 2px; } this dont
   work 😛
    -  This reply was modified 8 years, 6 months ago by [Korjaw](https://wordpress.org/support/users/korjaw/).
    -  This reply was modified 8 years, 6 months ago by [Korjaw](https://wordpress.org/support/users/korjaw/).
    -  This reply was modified 8 years, 6 months ago by [Korjaw](https://wordpress.org/support/users/korjaw/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516703)
 * Hi,
 * the first row is a header row, so you must use the `th` HTML tag:
 *     ```
       .tablepress-id-1 thead th {
         padding-top: 2px;
         padding-bottom: 2px;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516746)
 * Yeah, right so simple.. thanks ! 🙂
 * Last question (i hope :P), how change style of pagination “< Previous Next >”
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516751)
 * Hi,
 * for that, I recommend this CSS: [https://wordpress.org/support/topic/color-for-pagination-arrows-next-previous-problem/#post-5521088](https://wordpress.org/support/topic/color-for-pagination-arrows-next-previous-problem/#post-5521088)
 * Regards,
    Tobias
 *  Thread Starter [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9516994)
 * thanks, but this is only for arrows ?
    i want change font etc “Previous” “Next”
   too
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9517028)
 * Hi,
 * ah, my bad.
    For that, try something like
 *     ```
       .dataTables_paginate a {
       	color: #ff0000 !important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Korjaw](https://wordpress.org/support/users/korjaw/)
 * (@korjaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9517883)
 * Work, thanks ! 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9517925)
 * 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 10 replies - 1 through 10 (of 10 total)

The topic ‘Rows height’ 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/)

 * 10 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/rows-height/#post-9517925)
 * Status: resolved