Support » Plugin: TablePress » Table width always full width

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Please try

    table.tablepress-id-3 {
    	width: 500px;
    }

    (You are not using the DataTables JS library with this table, which is why #tablepress-3_wrapper will not work.)

    Regards,
    Tobias

    Thread Starter berniem3

    (@berniem3)

    Perfect! Thank you!

    And I added

    margin: 0 auto 1em;

    from the FAQ about centering tables and that worked too (although I don’t actually know why it works).

    Thanks for the great tool and great support. I’ve tried several other table editors and this is the best.

    Plugin Author TobiasBg

    (@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 ‘Table width always full width’ is closed to new replies.