Support » Plugin: TablePress - Tables in WordPress made easy » Add background image to table

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question.

    Yes, that’s correct. With that button, you can only add an image into a table cell.
    To use an image as a background image for a table, you will have to use CSS code. Please try adding

    .tablepress-id-123 {
      background: url(http://www.example.com/path/to/image.jpg);
    }

    to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress. You will have to adjust the table ID and the URL of the image in that code. Additionally, you will want to uncheck the “Alternating row colors” and “Row Hover Highlighting” checkboxes on the table’s “Edit” screen.

    Regards,
    Tobias

    Thread Starter pebe

    (@paphot)

    Thanks, Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem, you are very welcome!

    Best wishes,
    Tobias

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

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