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.

    Most likely something in the theme is interfering here. Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter petewatterschatsworth

    (@petewatterschatsworth)

    https://www.home-automation-associates.com/structured-wiring-2/catx/

    is the page that has two tables CSS has the following entries

    .tablepress-id-3 {
    width: auto;
    margin: 0 auto 1em;
    }

    .tablepress-id-5 {
    width: auto;
    margin: 0 auto 1em;
    }

    .tablepress-table-name {
    text-align: center;
    color: #303af1;
    }

    The tables do not center and the color of the table name does not change

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! Due to your theme and as you are using the DataTables JS library on these tables, you’ll need slighly extended CSS. Please try again with

    #content .tablepress-id-3 {
      width: auto;
      margin: 0 auto 1em !important;
    }
    
    #content .tablepress-id-5 {
      width: auto;
      margin: 0 auto 1em !important;
    }
    
    #content .tablepress-table-name {
      text-align: center;
      color: #303af1;
    }

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Center table’ is closed to new replies.