• Resolved RGOnline

    (@rgonline)


    Hi guys, im looking at highlighting the top 17 rows in my table. order of these rows can change. its a cut line for a golf competition if that makes any sense to you.

    So basically no matter what content is in the rows, the top 17 would always be highlighted.

    Any suggestions? Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, please try adding this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 tr:nth-child(-n+17) td {
        background-color: #ff0000 !important;
    }

    Regards,
    Tobias

    Thread Starter RGOnline

    (@rgonline)

    Perfect, thanks

    Plugin Author Tobias Bäthge

    (@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 ‘Highlight certain rows’ is closed to new replies.