Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter idbx

    (@idbx)

    Could someone help me about pic size in player lists?

    I feel it is a common problem.
    Where can we change the size displayed?

    Thanks!

    try putting this code into Sportspress > Settings > General > Custom Css

    .sp-player-list .data-name .player-photo img {
    height: auto;
    max-height: 5em;
    max-width: 5em;
    width: auto;
    }

    you can then play about with the max-height and max-width to suit the image size.

    Thread Starter idbx

    (@idbx)

    Thank you so much ander26171!

    It works!

    But there is an issue : the size of pics becomes bigger than the size of the lines in the tab : https://elite.soccermontreal.org/league-table

    Is there a way now to resize the line of the tabs? ??

    Add to Custom Css and change line-height to suit the size you need

    .sp-player-list td {
    line-height: 4em;
    }

    If you change this it makes the row look very big.

    You can also add this code to Custom Css to make it look smaller, if you need to.

    table tr td {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding: 5px 0;
    }

    by adjusting the padding it changes the size of the row height.

    Thread Starter idbx

    (@idbx)

    It works, it’s great!!

    Thank-you so much ander26171! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pic size in player lists’ is closed to new replies.