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

    (@tobiasbg)

    Hi,

    thanks for your question.

    That’s no problem. As each table as a unique CSS class (see https://tablepress.org/faq/documentation-css-selectors-styling/ ), you can use those to target the different tables with different CSS code to achieve different styling.

    Here’s an example:

    .tablepress-id-1 tbody td {
      color: #ff0000;
    }
    .tablepress-id-2 tbody td {
      color: #0000ff;
    }

    This (if entered into the “Custom CSS” textarea on the “Plugin Options” screen of TablePress) will make the text in the table with the ID 1 red and the text in the table with the ID 2 blue.
    This approach can be applied to all CSS examples, that you can for example find in the TablePress FAQ at https://tablepress.org/faq/

    Regards,
    Tobias

    Thread Starter katzka

    (@katzka)

    thank you very much for the fast help

    Thread Starter katzka

    (@katzka)

    hi
    I am using all over this great plugin
    Now i want to try to use it as a symple gallery with the easy fancy box . It is going great, just id like to have the thumbnails displayed in the back office too. I mean when i insert a picture in the cell it would be good to see it displayed in the table editor too. for the client it would be easier to see what he is doing
    I want to use table press table as a gallery because i didnt succeede
    to insert text link under the thumbnails in any of the well known galleries (nextGen etc..)
    Is it possible to do this change in the plugin?
    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that the styling tips helped! ??

    About the gallery: No, unfortunately, such a change in the back office is not possible. The plugin only show the HTML code there, but not the images.
    Now, I’d however actually like to discourage you from using TablePress for a gallery. A table is just not the correct way for this, and it would make your life much harder! You should really use a gallery plugin for your gallery. And inserting that text link under each thumbnail should only mean to add a description to the image. That should be possible with the gallery plugins, and if not, I suggest to ask the developers of the gallery plugins for help about this with.

    Regards,
    Tobias

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘different styles to different tables’ is closed to new replies.