WordPress.org

Support

Support » Plugins and Hacks » WP-Table Reloaded » [Plugin: WP-Table Reloaded] Highlight or bold the last three rows

[Plugin: WP-Table Reloaded] Highlight or bold the last three rows

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

    @tobiasbg

    Hi,

    no, sorry, that’s not possible. You can only use the row ID based selectors.

    For the last row it might be possible by using a new CSS3 selector, like tr:last, but I don’t have any experience on those.

    Instead, you could use span HTML tags inside the last three rows and do the highlighting with those.

    Best wishes,
    Tobias

    Hi there, thanks for reading.

    Suppose there is a counter that counts all the rows. e.g. 15
    The 3 variables
    a = 15-1
    b = 15-2
    c = 15-3

    When in the loop, i == a or b or c, make these changes <b>

    Would that be possible? If yes where should I write it ?

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    I’m not really sure if that would help. You might try using the row class filter and add another CSS class to those rows. You could also use the cell content filter and check for the row number. That could also work. Integrating such a counter would not really help.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Highlight or bold the last three rows’ is closed to new replies.
Skip to toolbar