Support » Plugin: TablePress » Multiple Cells dif cell bg color

  • Resolved sbrusselle

    (@sbrusselle)


    Dear support, You mention this solution in you’re FAQ
    .tablepress-id-N .row-X .column-Y {
    background-color: #ff0000;
    }
    But what if i would like to change row 3 and 4 and 5 to cell bg orange?
    DO i need to copy 3 times the same with the bg value?
    Creating a class doesn’t work because then he changes only the text BG (in span tag) or is there a way to work around this and I can create a class that I can enter in the cell so the background of the cell changes color?
    Thnx
    Sebastien

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    If you want to change multiple cells at once, you can group the selectors as a comma-separated list:

    .tablepress-id-123 .row-3 .column-2,
    .tablepress-id-123 .row-4 .column-1,
    .tablepress-id-123 .row-5 .column-6 {
      background-color: #ff0000;
    }

    Regards,
    Tobias

    SUper thnx

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    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 ‘Multiple Cells dif cell bg color’ is closed to new replies.