• Resolved mehdibaig

    (@mehdibaig)


    Hello,

    First off, I wanted to say this is an awesome plug-in with nice simple design. I am trying to center this table on my website while keeping that table width, but I have had no luck. Please help!

    This is the CSS I am using thus far

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

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this that you have enabled the use of the DataTables JS library but turned off the individual features. Everything should be fine after turning off the “Use DataTables” checkbox on the table’s “Edit” screen. Can you please try that?

    Regards,
    Tobias

    Thread Starter mehdibaig

    (@mehdibaig)

    Thank you Tobias! It worked =D

    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 CSS’ is closed to new replies.