Title: Table header alignment issue
Last modified: August 31, 2016

---

# Table header alignment issue

 *  Resolved [jayglo](https://wordpress.org/support/users/jayglo/)
 * (@jayglo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/table-header-alignment-issue/)
 * At first I couldn’t seem to get the table header on my page to align with the
   rest of the table. I know this is an issue for lots of people because of the 
   specific theme they are using.
 * Deselecting the horizontal scrolling option fixes the issue. However, this also
   disables the tablepress responsive collapse plugin that I have set for smaller
   screens for mobile and such. So when I use a mobile device, the table doesn’t
   scroll and the collapse feature doesn’t work. I’d rather not disable horizontal
   scrolling if it’s going to take away functionality on mobile devices. But I also
   want my header row to align with the rest of the table.
 * Are there any solutions to issue?
 * [sensiblesocialcycling.ca](https://wordpress.org/support/topic/table-header-alignment-issue/www.sensiblesocialcycling.ca?output_format=md)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/table-header-alignment-issue/#post-7427607)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I see what you mean, but unfortunately, I’m not aware of a solution for this 
   at the moment 🙁 It seems that the current version of the DataTables JS library
   has problems properly calculating the column widths when the horizontal scrolling
   is used :-/
 * I’ll try to release an update soon that will hopefully fix this.
 * Regards,
    Tobias
 *  Thread Starter [jayglo](https://wordpress.org/support/users/jayglo/)
 * (@jayglo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/table-header-alignment-issue/#post-7427634)
 * Thanks Tobias.
 * Hopefully a solution will be developed shortly.
 * Much appreciated.
 * Jason
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/table-header-alignment-issue/#post-7427637)
 * Hi Jason,
 * yes, please be assured that I’m investigating this and working on it!
 * Best wishes,
    Tobias

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

The topic ‘Table header alignment issue’ 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/)
 * [collapse](https://wordpress.org/support/topic-tag/collapse/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/table-header-alignment-issue/#post-7427637)
 * Status: resolved