• Resolved kathyg

    (@kathyg)


    Hi
    First, I’m impressed with your work and support. I can’t get the columns of a simple table to center, and have each column a different color.
    On the test page, what I want are 3 columns/boxes to showcase fees.
    The table on the page is not centered or clearly differentiated.

    Here’s the code I tried (and I’m NOT a tech person so this is hard for me.)
    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #82f29e;
    text-align: center;
    }

    .tablepress thead td {
    font-family: Tahoma;
    font-size: 16px strong;
    background-color: #ffffff;
    }

    .tp_table id=2 / .column-1 th {
    background-color: #b8f2d2;
    text-align: center;
    font-size: 14px;
    width: auto;
    }

    .tp_table id=2 / .column-2 th {
    background-color: #b7d5f1;
    text-align: center;
    font-size: 14px;
    width: auto;
    }

    .tp_table id=2 / .column-3 th {
    background-color: #b8f2d2;
    text-align: center;
    font-size: 14px;
    width: auto;
    }

    I can’t tell you how much I appreciate your help!

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    .tp_table id=2 / .column-1 th {
    

    is not the proper CSS syntax here. Please try again with

    .tablepress-id-2 .column-1 {
    

    which is the command for “all cells of the 1st column of table 2”.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Columns: colors, center, manage’ is closed to new replies.