Title: Header and Column Widths Mismatch
Last modified: August 1, 2018

---

# Header and Column Widths Mismatch

 *  Resolved [drdlund](https://wordpress.org/support/users/drdlund/)
 * (@drdlund)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-and-column-widths-mismatch/)
 * When I enable the DataTables Javascript library on my table, the header row is
   widened to accommodate the sort arrows, but the data columns remain unchanged,
   resulting in misalignment of the headers and data. The problem gets worse as 
   you move from left to right across the table.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-and-column-widths-mismatch/#post-10548889)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * This is likely due to the Horizontal Scrolling feature not being able to calculate
   some widths correctly. I therefore suggest to uncheck the “Horizontal Scrolling”
   checkbox.
 * To get such scrolling back, just with a slightly different technical implementation,
   please install the TablePress Extension from [https://tablepress.org/extensions/responsive-tables/](https://tablepress.org/extensions/responsive-tables/)
   and use its `scroll` mode.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Header and Column Widths Mismatch’ 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

 * [column width](https://wordpress.org/support/topic-tag/column-width/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/header-and-column-widths-mismatch/#post-10548889)
 * Status: resolved