Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question.

    Unfortunately, I can not view that page as it’s only a preview (not accessible to not-logged-in users), and therefore I can not check why your CSS code, which looks correct, is not working.
    Could you therefore please post a new link? Thanks!

    Regards,
    Tobias

    Thread Starter tessadavis

    (@tessadavis)

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the new link!

    The reason for this is that you are using the DataTables JS functions, so that we’ll need some slightly different CSS selector.
    Just replace

    .tablepress-id-5 {
    	width: 500px !important;
    	margin: 0 auto 1em !important;
    }

    with

    #tablepress-5_wrapper {
    	width: 500px !important;
    	margin: 0 auto 1em !important;
    }

    and the table will be centered ??

    Regards,
    Tobias

    Thread Starter tessadavis

    (@tessadavis)

    perfect, thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great! ?? Nice to hear that this helped. Thanks for the confirmation!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fixed with but centered table’ is closed to new replies.