• In the classification table I want to color only the first 2 positions and the last two of the tabel (data-rank).
    But only the position, not the whole line. How should I proceed?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    You do have some code that that is almost what you need. You just need to add an extra :nth-child(1) in each. For example:
    .post-760 .sp-league-table tbody tr:nth-child(1)

    Will turn into:
    .post-760 .sp-league-table tbody tr:nth-child(1) :nth-child(1)

    Thanks!

    Plugin Contributor Savvas

    (@savvasha)

    Hi @marcolinni and @rochesterj,

    May you should use something like:
    .post-760 .sp-league-table tbody tr:nth-child(1) .data-rank instead?

    Thanks,
    Savvas

    Hola! Esto es justo lo que estoy necesitando, pero necesitaría un poco de ayuda:

    Dónde debería colocar esos códigos?

    Yo necesito, por ejemplo que:
    – el 1º tenga un color
    – Del 2º al 9º otro color
    – Del 18º al 20º otro color

    https://futsalafa.com.ar/primera-b/

    Gracias!

    Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    Please open a new topic so we can help you with that.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Color in table’ is closed to new replies.