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

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    Add the following code in your custom css field ( Wp admin > SportsPress > Settings > General > Custom CSS ) and let us know how it works:

    
    .single-sp_player .sp-player-details dt:nth-child(1), .single-sp_player .sp-player-details dd:nth-child(2) {
      background: red!important;
    }

    Kind Regards,
    -Roch

    Thread Starter lstephan

    (@lstephan)

    Hi Roch,

    Many thanks i will try it.

    Ludovic

    Thread Starter lstephan

    (@lstephan)

    Roch,

    I ve tried but i can’t just apply this to player’number.

    http://www.footbrest.fr/joueurs/gautier-larsonneur/

    Ludovic

    Roch

    (@rochesterj)

    Hi Ludovic!

    To change just the number you can use this one:

    .single-sp_player .sp-player-details dd:nth-child(2) {
      background: red!important;
    }

    If you want you can hide that # as well, with this code:

    .single-sp_player .sp-player-details dt:nth-child(1)) {
      display: none;
    }

    Kind Regards,
    -Roch

    Thread Starter lstephan

    (@lstephan)

    Roch

    Thanks again for your responses.

    Have a nice day.
    Ludovic

    Thread Starter lstephan

    (@lstephan)

    Roch,

    Sorry but it’s quite ok but i can change the position of the player’s number by css but not the color or the size of it.

    Is it possible?

    http://www.footbrest.fr/joueurs/gautier-larsonneur/

    Ludovic

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

The topic ‘CSS player number’ is closed to new replies.