• Resolved acejose2

    (@acejose2)


    How can I adjust the font size, picture sizes for my player’s list?

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

    (@savvasha)

    Hi there @acejose2,

    Please provide a url to the page you want to adjust those sizes.

    Thanks,
    Savvas

    Thread Starter acejose2

    (@acejose2)

    Thread Starter acejose2

    (@acejose2)

    @savvasha?any update on this please

    Plugin Contributor Savvas

    (@savvasha)

    Hi @acejose2,

    Sorry for the delayed reply.

    To increase the size of the text you can use the following CSS code:

    table.sp-player-list td.data-name.has-photo {
        font-size: 20px !important;
    }

    To increase the size of the photos you should copy the template file player-list.php from wp-content/plugins/sportspress/templates/ to /wp-content/themes/your-child-theme/sportspress/ and alter the line 189. You will need to change 'sportspress-fit-icon' to array( 200, 200) or any other size in pixels you want.

    $logo = get_the_post_thumbnail( $player_id, 'sportspress-fit-icon' );

    Thanks,
    Savvas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Player List Pictures’ is closed to new replies.