• Hi Tomas,
    I have a problem with thumbnail size that’s probably quite easy to fix. On the main blog page where my thumbnails are set to display, they appear in their original size, which is too big for me:
    https://www.behavioraleconomics.com/blog/
    Is there a way to set a max (without cropping), i.e. 150 x 150?
    Many thanks for your help,
    Alain

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dralsam

    (@dralsam)

    P.S. Under Settings -> Media I did change thumbnails to 150 x 150, but that has no effect.

    Theme Author TT Themes

    (@tomastoman)

    Hi Alain,

    by default, the HappenStance theme uses a custom dimensions for the post thumbnails that are defined in “functions.php”. To use the thumbnail size that you set in “Settings > Media”, please edit the following code in “content-archives-standard.php”:

    <?php the_post_thumbnail(); ?>

    in this way:

    <?php the_post_thumbnail('thumbnail'); ?>

    Best regards
    Tomas Toman

    Thread Starter dralsam

    (@dralsam)

    That’s excellent, thanks very much, Tomas! One follow up question: is it possible to have the excerpt text display to the right of the image (as it was before this fix, I think), instead of underneath it?

    Theme Author TT Themes

    (@tomastoman)

    Hi Alain,

    please use this custom CSS to align the post thumbnails:

    .post-entry .attachment-thumbnail {
      display: block;
      float: left;
      height: auto;
      margin: 0 15px 5px 0;
      width: auto;
    }

    Best regards
    Tomas Toman

    Thread Starter dralsam

    (@dralsam)

    Great, thanks very much, Tomas!

    Theme Author TT Themes

    (@tomastoman)

    You are welcome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Thumbnail size’ is closed to new replies.