Change the way images are cropped on posts page (2 posts)

  1. droidiser
    Posted 1 year ago #

    Hi there,

    First of all, an excellent job with the theme. Thanks for keeping it free. Will certainly donate something one day.

    Coming to my question, is it possible to change the way images are cropped to something like the ones that are cropped here: http://pingrey-ivy.blogspot.in/

    I would be obliged if you could share the code changes required. Thanks for your time.

  2. Alexander Agnarson
    Theme Author

    Posted 1 year ago #

    Hi! Thanks.

    To change thumbnail sizes, you need to copy over the alx_setup function from functions.php to the child theme's function.php and modify the following lines:

    add_image_size( 'thumb-medium', 520, 245, true );
    add_image_size( 'thumb-large', 720, 340, true );

    To the sizes you want. Then regenerate thumbnails.

    Refer to the documentation in the help dropdown in theme options, under the section "Child Theme" to see how to work with a child theme.

    If you only want to change which part of the image that is visible, you can try this plugin:

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic