Yet Another Related Posts Plugin (YARPP)
SIMPLE Thumbnail resize (1 post)

  1. ronthai
    Posted 2 years ago #

    In the FAQ there are some answers to the thumbnail size and resize.
    I think the below method is much simpler. Just resize the thumbnails in CSS.
    Unless you have hundreds of releated posts (who does that?) ....
    Most people will have 5 to 10 my guess is, maybe 20 and that has almost no strain on the server.

    My Featured Images are all landscape, but if you have mixed (landscape and portrait) just only use the width value.

    /* Reduces the title font size and displays more than two title lines and resizes the thumbnails*/
    .yarpp-thumbnail {height: 150px !important;}
    .attachment-yarpp-thumbnail {height: 90px !important; width: 120px !important;}
    .yarpp-thumbnail-title {font-size:0.8em !important; max-height: 4em !important;}


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic