Title: CSS player number
Last modified: March 23, 2017

---

# CSS player number

 *  [lstephan](https://wordpress.org/support/users/lstephan/)
 * (@lstephan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/)
 * Hi,
 * Is it possible to have a specific style for player’s number ?
 * I would like to have the jersey team as a background for the player’s number.
 * [http://www.footbrest.fr/joueurs/valentin-henry/](http://www.footbrest.fr/joueurs/valentin-henry/)
 * Thanks a lot

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

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8949347)
 * 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](https://wordpress.org/support/users/lstephan/)
 * (@lstephan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952101)
 * Hi Roch,
 * Many thanks i will try it.
 * Ludovic
 *  Thread Starter [lstephan](https://wordpress.org/support/users/lstephan/)
 * (@lstephan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952159)
 * Roch,
 * I ve tried but i can’t just apply this to player’number.
 * [http://www.footbrest.fr/joueurs/gautier-larsonneur/](http://www.footbrest.fr/joueurs/gautier-larsonneur/)
 * Ludovic
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952571)
 * 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](https://wordpress.org/support/users/lstephan/)
 * (@lstephan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952616)
 * Roch
 * Thanks again for your responses.
 * Have a nice day.
    Ludovic
 *  Thread Starter [lstephan](https://wordpress.org/support/users/lstephan/)
 * (@lstephan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952685)
 * 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/](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.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [lstephan](https://wordpress.org/support/users/lstephan/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/css-player-number/#post-8952685)
 * Status: not resolved