Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that this table does not use the DataTables JS features, and therefore does not get that dataTables_wrapper CSS class.
    The fix is however easy: Just remove that CSS class from the CSS code, i.e. change it to

    .tablepress {
      width: auto;
      margin: 0 auto 1em !important;
    }

    Regards,
    Tobias

    Thread Starter MelissaLaverty

    (@melissalaverty)

    Perfect! Thank you.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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 here in the plugin directory. Thanks!

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

The topic ‘Center Table & Reduce Width’ is closed to new replies.