• Resolved asadministrator

    (@asadministrator)


    I am using the following code on the site https://www.davisstirlinglawblog.com (note I do NOT have “Table Head Row” checkbox in the “Table Options” section checked); however, as you can see, the table is NOT centered on the page. I can’t seem to find any information other than what I’ve already added, so am stumped!

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

    .tablepress thead th,
    .tablepress tbody td {
    text-align: center;
    vertical-align: middle;
    }

    .tablepress tbody td img {
    float: left;
    }

    .tablepress-id-1 .column-1 {
    width: 200px;
    }

    What I want is for the table containing “Thank you to attorney…” and the attorney’s photo to be centered between the margins. The display is incorrect in all browsers. Thank you for any help!

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this is that your theme also adds CSS code that affects tables, and it’s basically overwriting your desired changes again, but with a higher priority.
    We will therefore just have to increase the priority of your CSS code. For that, just replace the first block with

    .entry .tablepress-id-1 {
        width: 75%;
        margin: 0 auto 1em;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘TablePress Centering Table on Page not Working’ is closed to new replies.