• Resolved dikla

    (@dikla)


    Hi,
    How can I control the size/ dimension of the thumbnails?
    I added width:100% to the image CSS but it’s made the image very pixelated and based on 120*120 px : https://prnt.sc/w1pbj7

    what can I do, please advise????
    Thanks in advance

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

Viewing 1 replies (of 1 total)
  • Plugin Author YARPP

    (@jeffparker)

    The default YARPP thumbnail size is 120px by 120px.

    The thumbnail size can be specified programmatically by adding add_image_size('yarpp-thumbnail', $width, $height, true); to your theme’s functions.php file with appropriate width and height variables.

    https://developer.ww.wp.xz.cn/reference/functions/add_image_size/

    Each time you change YARPP’s thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriately sized thumbnails for all of your images. We highly recommend the Regenerate Thumbnails plugin for this purpose.

Viewing 1 replies (of 1 total)

The topic ‘thumbnails’ is closed to new replies.