Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31548
    GregK
    Member

    Hi,

    http://www.comfortablekitchen.com

    I’d like to resize the main page thumbnails to 175×175. I tried using this css and regenerate thumbnails which didn’t work.

    add_image_size( ‘featured’, 175, 175, true); // uses on homepage featured image

    thanks again for your help
    Greg

    #31572
    Sakin
    Keymaster

    @GregK: There is no option to change to 175×175. But if you upload the Featured Image of this size then it will show 175×175. But if you upload the larger size then it will crop into exact 210×210.

    But if you want to make in 175×175 as default even when you upload the large image, then you need to build child theme and then copy content.php file from simple-catch theme to your child theme and replace the code:
    <?php the_post_thumbnail( 'featured' ); ?>
    With the following code:
    <?php the_post_thumbnail( 'thumbnail' ); ?>

    Then activate your child theme and go to “Settings => Media” form your WordPress Dashboard and then in “Thumbnail size” type in width 175 and height 175, select “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” and Save Changes. After this you can use “Regenerate Thumbnails Plugin” and regenerate thumbnail which will change your thumbnail image in all your old post.

    #31583
    GregK
    Member

    Hey Sakin,

    Thanks for your response.

    I went into the main code (not child theme, which I have) and made the adjustments. I was able to do it, but it just didn’t look right. It really made everything else look worse.

    I guess I learned you can’t change one thing and expect everything else to adapt to that change.

    Thanks again, sorry to waste your time. This is something I want done but it will have to be custom and later on.

    Cheers,
    Greg

    #31686
    Sakin
    Keymaster

    Yes Greg, It’s bit difficult one. You can check this tutorial for building child theme http://catchthemes.com/blog/create-child-theme-wordpress/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Main Page Thumbnail Resize?’ is closed to new replies.