• Resolved secc

    (@secc)


    Hi. I currently have 3 tables. Is there a way, how i can address with the css only number 1 and 2? Does this works like in the sample?

    .tablepress 1 .column-1, .tablepress 2 .column-1 {
    font-weight: bold !important;
    }

    Further i have insert this code for the width. But this must also only work for Nr1 and Nr2. For Nr3 i need it in similar thirds. Is there also a way that i can define in % instead of px for a single table?

    Thank you for your help.

    Manuel

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    You are very close! You can indeed use the table-ID-based CSS selectors here, from https://tablepress.org/faq/documentation-css-selectors-styling/

    So, your example would be

    .tablepress-id-1 .column-1,
    .tablepress-id-2 .column-1 {
      font-weight: bold !important;
    }

    For the widths, the same will work. And using % is also no problem, like

    width: 20%;

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘CSS for selected Tables’ is closed to new replies.