• Resolved cezabs

    (@cezabs)


    Hi,

    First of all, great job with this theme.
    Is it possible to have the same size for the image of all posts (featured image) whatever the attached image initially is ?
    Meaning that the image is automatically resized (thumbnail for exeample as 100×150).
    In addition, I am unable to delete the header image (with a child theme).
    Thank you in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi cezabs,

    Add the following code to the functions.php file in your child theme (or add a file with that name to the child theme if it doesn’t already exist):

    function my_theme_thumb() {
       set_post_thumbnail_size( 'post-image', 945, HEIGHT, true );
    }
    add_action( 'after_setup_theme', 'my_theme_thumb', 11 );

    Add that code to the child theme, and featured images should be automatically cropped to that size. Change HEIGHT to the height you wish to use. Let me know if it works.

    Thread Starter cezabs

    (@cezabs)

    Hi Anders,

    Thank you for the code but it doesn’t work.
    Any other idea ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image always same size’ is closed to new replies.