• I’m trying to change the thumbnail size displayed on the homepage. I found the code below in functions.php however when I change it, nothing happens.
    Can someone point me to the specific code that controls the thumbnail sizes and layout on the homepage?
    // Post thumbnails
    add_theme_support( ‘post-thumbnails’ );
    add_image_size( ‘post-image’, 1240, 9999 );
    add_image_size( ‘post-thumb’, 508, 9999 );

Viewing 3 replies - 1 through 3 (of 3 total)
  • WordPress only crop image to sizes once upon upload.

    When we change the image size in function, it only apply to newly upload and not the one already upload.

    Use a plugin called “Regenerate Thumbnails” to make WordPress create new image sizes for images already upload.

    Thread Starter mjsama

    (@mjsama)

    Hmm, I tried that and it still loads the same size image. I’ve even changed the settings and reloaded the pictures and it still does the same image size.
    Has anyone successfully changed the thumbnail size and the amount of thumbnails across the homepage that can walk me through it?

    Thread Starter mjsama

    (@mjsama)

    So I was able to specify the actual thumbnail size by writing the following:

    .posts .post {
    width:300px;
    height:450px;

    This altered however many images could fit across the page in each line, however it did not space them across the page, and for some reason only one image was not spaced evenly.

    Any solutions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Change Thumbnail Size?’ is closed to new replies.