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

    (@tobiasbg)

    Hi,

    thanks for your question.

    That’s possible with some CSS code. Please try this:
    1. Uncheck the “Alternating row colors” checkbox on the “Edit” screen of the table.
    2. Add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-123 td {
      background-color: #ff0000;
    }

    Adjust the 123 to the correct table ID as necessary.

    Regards,
    Tobias

    Thread Starter carlito480

    (@carlito480)

    Thanks Tobias,
    it works and i am glad u help me. but there is 1 more thing that i’d like to know.

    for example, i’ve got 3 tables.
    Can I copy few rows from table no. 1 and paste it to table no. 2?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    About the other question: No, sorry, that is not possible. Copying rows from one table to the other automatically is not possible.
    You will have to add news rows in the second table and use manual copy/paste of the cell contents.

    Regards,
    Tobias

    Thread Starter carlito480

    (@carlito480)

    Thanks again Tobias,

    I have a very last question, if it’s not a problem:)

    Is it possible to add an background image behind the table?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    sure. For that, you should remove the code that I posted above (so that the table cells are transparent), and then add something like this:

    .tablepress-id-123 {
      background: background:url( 'https://example.com/your-image.jpg' ) 0 0 no-repeat;
    }

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Table background’ is closed to new replies.