Title: #sp-player-gallery
Last modified: July 14, 2022

---

# #sp-player-gallery

 *  Resolved [basketravenna](https://wordpress.org/support/users/basketravenna/)
 * (@basketravenna)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/)
 * Hello. I have a problem with sportpress plugin .
    I get this test on page: #sp-
   player-gallery-30048 { margin: auto; } #sp-player-gallery-30048 .gallery-item{
   float: left; margin-top: 10px; text-align: center; width: 33%; } #sp-player-gallery-
   30048 img { border: 2px solid #cfcfcf; } #sp-player-gallery-30048 .gallery-caption{
   margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */
 * Any idea to resolve?
    Plugin version: 2.7.15 Wordpress: Theme: metronic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsp-player-gallery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15825823)
 * Hi there!
 * Thanks for reachign out.
 * Thanks usually happens when your theme doesn’t declare HTML5 support.
 * What happens when you briefly switch to a different theme such as Rookie or Twenty
   Twenty?
 * Thanks!
 *  Thread Starter [basketravenna](https://wordpress.org/support/users/basketravenna/)
 * (@basketravenna)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15827385)
 * Hi [@rochesterj](https://wordpress.org/support/users/rochesterj/) thanks for 
   your answer. With other theme (Twenty Twenty) no problem.
 * Can i declare html5 in my current theme? If yes, on which page?
    Thanks
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15836056)
 * Hi there!
 * Thanks for your reply.
 * In this case, the easiest solution is to edit this file:
    /wp-content/plugins/
   sportspress/templates/player-gallery.php
 * If you don’t have a code editor, you can edit it under wp-admin > plugins > plugin
   file editor – please run a full backup first.
 * around line 116, replace this code:
    `echo wp_kses_post( apply_filters( 'gallery_style',
   $gallery_style . "\n\t\t" ) );`
 * With this code:
    `echo apply_filters( 'gallery_style', $gallery_style . "\n\t\
   t" );`
 * Thanks!
 *  Thread Starter [basketravenna](https://wordpress.org/support/users/basketravenna/)
 * (@basketravenna)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15837468)
 * [@rochesterj](https://wordpress.org/support/users/rochesterj/) Thanks for you
   solution!!
    Now it’s perfect!
 * Bye!
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15838812)
 * You’re most welcome!
 * Let us know if you need anything else.
 * Thanks!

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

The topic ‘#sp-player-gallery’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/sp-player-gallery/#post-15838812)
 * Status: resolved