Title: Tablepress &#8211; Table changes width.
Last modified: September 4, 2016

---

# Tablepress – Table changes width.

 *  Resolved [Bulldg](https://wordpress.org/support/users/bulldg/)
 * (@bulldg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/)
 * First of all, Thanks for creating this amazing plugin.
 * My challenge is that initially the table shows up in full or normal width and
   then a few seconds later the width drops to perhaps only 20% of the page width.
 * Here’s a short video of what I’m experiencing.
 * See [http://screencast.com/t/xyR4Wxyng](http://screencast.com/t/xyR4Wxyng)
 * The page I am testing is [http://www.curatron.com/_tablepress_test/ ](http://www.curatron.com/_tablepress_test/)
 * I am trying to find a replacement for another plugin that is being used on this
   page. “[http://www.curatron.com/prices/](http://www.curatron.com/prices/)” The
   loading time of that table is just too variable and usually very slow to load.

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-8137981)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I see what you mean. The cause for this is a bug in the DataTables JS library’s“
   Horizontal Scrolling” feature. It basically can’t properly detect the table width
   at the moment, which it needs for some calculations.
 * The temporary workaround, until a new version of this is released, is to uncheck
   the “Horizontal Scrolling” checkbox on the table’s “Edit” screen.
    If you then
   want to add such horizontal scrolling again, you can use the `scroll` mode of
   the TablePress Extension from [https://tablepress.org/extensions/responsive-tables/](https://tablepress.org/extensions/responsive-tables/).
   This uses a slightly different mechanism that is a bit more robust.
 * Regards,
    Tobias
 *  Thread Starter [Bulldg](https://wordpress.org/support/users/bulldg/)
 * (@bulldg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-8138390)
 * **Many thanks! You are a very clever dude!**
 *  [rutgermuller](https://wordpress.org/support/users/rutgermuller/)
 * (@rutgermuller)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9164248)
 * Hi Tobias, I have the same problem, but I need to have horizontal scrolling enabled,
   for people on small windows / devices. What can I do?
 * I used to have no problem with this bug. But now I first have to resize the window
   a bit, randomly, before the table widths are corrected.
 * Seem to happen in Safari only.
 * [http://bepakt.com/packaging-free-supermarkets/crowdfunding-index/](http://bepakt.com/packaging-free-supermarkets/crowdfunding-index/)
 * Best,
    Rutger
    -  This reply was modified 8 years, 10 months ago by [rutgermuller](https://wordpress.org/support/users/rutgermuller/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9164339)
 * Hi Rutger,
 * I don’t experience this bug when visiting that link at the moment, but if it 
   keeps happening please follow the suggestion from the post above and use the `
   scroll` mode of the Extension instead of the “Horizontal Scrolling” checkbox 
   on the table’s “Edit” screen.
 * Regards,
    Tobias
 *  [rutgermuller](https://wordpress.org/support/users/rutgermuller/)
 * (@rutgermuller)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9165033)
 * Awesome, it worked. With one little problem, it shows a a grey background and
   different font now…
 *  [rutgermuller](https://wordpress.org/support/users/rutgermuller/)
 * (@rutgermuller)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9165048)
 * I forgot to untick the box! And it seems that copy pasting brought some weird
   code in. It all works now. Thanks a lot!
    -  This reply was modified 8 years, 10 months ago by [rutgermuller](https://wordpress.org/support/users/rutgermuller/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9165161)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Yes, you must uncheck the box. And that font/background change was probably from
   the copy/paste adding extra HTML `<pre>` tags, which must be deleted again.
 * Regards,
    Tobias

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

The topic ‘Tablepress – Table changes width.’ 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

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

 * 7 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/tablepress-table-changes-width/#post-9165161)
 * Status: resolved