Support » Plugin: SportsPress - Sports Club & League Manager » Removing featured image or setting details next to it

  • Resolved risingchamps

    (@risingchamps)


    Hello,

    I checked earlier posts made in purpose to solve this same issue and even if developers replied with some codes that worked for them, I tried all of those codes and none worked for me so I hope you can help me with it.

    https://lalegaonline.es/jugador/shoyo-hlnata/

    Basically I want to remove the featured image a player has from all the players pages as I’m using a page builder(Elementor) and I want to be able to edit it as I please. I don’t have much of a problem with the image itself being there, what makes me take this step is that I can’t add or edit anything besides the image so it leaves a big space as blank. As you can see in the link, I wouldn’t mind if I could set the “Details” right next to the image as it’d save me a lot of work like it does in the “Rookie” but I’m using “Bento” theme and it doesn’t seem to be possible without editing code, something that I don’t really know much about aside of simple html.

    Kind regards.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @risingchamps ,

    To remove the photo please add the following CSS code at SportsPress->Settings->General->Custom Code:

    article.type-sp_player .post-thumbnail {
        display: none;
    }

    It will be better though to alter your template (i.e. with the help of template’s developer) so as to show both the Photo and the details side by side. You can use the template files of Rookie as reference.

    In the meantime, did you try to enable the Photo setting at SportsPress->Settings->Players?
    https://snipboard.io/dKN8tR.jpg

    Thanks,
    Savvas

    risingchamps

    (@risingchamps)

    Hello @savvasha,

    The CSS you provided worked in order to remove the featured image from the player’s page, thank you.

    Also for the template and the details being next to the photo, it now works as intended.

    Thank you for your time and thanks for this amazing plugin.

    Plugin Contributor Savvas

    (@savvasha)

    I am glad it worked for you 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.