Viewing 6 replies - 1 through 6 (of 6 total)
  • Try setting this in your SportsPress General Settings, into the personalized CSS box
    (change the colors as you prefere)

    .post-5436 .sp-league-table  tbody tr:nth-child(1) td {
    	background: #ccffeb !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(2) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(3) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(4) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(5) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(6) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(7) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(8) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-child(9) td {
    	background: #f8e494 !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-last-child(3) td {
    	background: #fab67f !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-last-child(2) td {
    	background: #fab67f !important;
    }
    .post-5436 .sp-league-table  tbody tr:nth-last-child(1) td {
    	background: #ffe6ff !important;
    }
    Thread Starter sebantonini

    (@sebantonini)

    Muchas gracias!

    sos un genio, quedo barbaro!

    Roch

    (@rochesterj)

    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Thread Starter sebantonini

    (@sebantonini)

    @rochesterj

    Analizando, vi que acá: https://futsalafa.com.ar/platense/

    Me gustaría hacer lo mismo pero SOLO en 1 tabla de posiciones, sería posible?

    Gracias!

    For PRIMERAB (I guess).

    Copy the same css as above and replace

    .post-5436 .sp-league-table
    with
    .post-5507 #DataTables_Table_0_wrapper .sp-league-table

    Then paste it into the CSS settings
    under the previous one

    Note that the tables in this page are numbered from 0 to 6
    PRIMERAB is number 0 with id DataTables_Table_0_wrapper

    Roch

    (@rochesterj)

    Good one, f3rr0!

    It’s possible to use the nth-child for it as well, in case you want to.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Destacar distintas posiciones en la Tabla’ is closed to new replies.