• Resolved basketravenna

    (@basketravenna)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@basketravenna)

    Hi @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

    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

    (@basketravenna)

    @rochesterj Thanks for you solution!!
    Now it’s perfect!

    Bye!

    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.