• Resolved Dirk

    (@glappi)


    Hello.

    I am currently creating an ice hockey fansite.
    To be able to represent teams, leagues, etc. properly, I use SportsPress. But I would like to change a few things.
    I do not use images on the player pages. Now a large part of the page remains white which looks ugly. Where can I change that so that only the info below is displayed?
    Furthermore, I would like to adjust the size and weight in German and add the date of birth and birthplace. Where do I have to change that and, above all, how?
    I don’t want to just mess around with the source code now, so I would be grateful for any help.

    Many Thanks!

    Greetings Dirk Weber

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

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

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    Please note that your SSL certificate is expired. This displays a big security warning in most browsers and won’t let users in. You can lose visitors because of that.

    Regarding the page changes, you can hide the player photo using some CSS code. Could you send us a link to a player page so I can check that?

    Thanks!

    Thread Starter Dirk

    (@glappi)

    Good Morning
    Here is the link to a player portrait:
    https://eiszeit-nordhessen.de/player/marc-wittfoth/
    Where in the css do I have to adjust it?
    Many Thanks.

    greetings
    Dirk Weber

    Should be enough add

    img.lazy {
    display: none;
    }

    to your custom code.

    Roch

    (@rochesterj)

    Thanks for your help, cesarewp, you are crushing it!

    Thread Starter Dirk

    (@glappi)

    Hello.
    Thanks for your help cesarewp but I’m not really getting anywhere. In which custom code do I have to insert this?
    Thank you for your help!

    greetings
    Dirk Weber

    You should go from your dashboard:
    Apperance > Customise > custom css
    Copy and paste this:

    img.lazy {
    display: none;
    }

    should work.

    Cesare

    Thread Starter Dirk

    (@glappi)

    Tested okay, but it doesn’t work the way I thought it would. If I do that about the theme, all the pictures are gone.
    Who would you have to change in the plugin or do I see it wrong?

    ops.
    Sorry for that.
    maybe changing with this would work?

    .sp_player img{
    display: none;
    }

    Roch

    (@rochesterj)

    Hi there!

    Thanks for your reply and I’m sorry it didn’t work.

    It looks like the header image is created by your theme. Maybe they have an option to hide it so we won’t need CSS code at all.

    We can easily target that code to the player page only, but the main issue here is that there’s no easy way to target the player image only since your theme changed the SP structure.

    Thanks!

    Thread Starter Dirk

    (@glappi)

    Good Morning
    I found a suitable setting for my theme.
    Now it’s right. Many thanks for your help!

    greetings
    Dirk Weber

    Roch

    (@rochesterj)

    Awesome! I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,
    -Roch

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘revise player page’ is closed to new replies.