• Resolved marychen

    (@marychen)


    Hi, I would like to ask, if it′s possible to change the size of featured image, that one witch is appearing above the title of a post when you open it. Thumbnails in the list of posts are great, but this is huge and I can′t find the right setting for it. Thanx

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    The theme uses a WordPress native “Large” image size for this. You can set it up in Settings > Media in your WordPress dashboard.

    If you want to enable cropping on “Large” images, you need to use this code in your child theme‘s functions.php file instead:

    function child_theme_large_image_crop() {
      add_image_size( 
        'large', // Image size we are modifying
        1020, // Image width in pixels
        510, // Image height in pixels
        true // Enable cropping
      );
    }
    add_action( 'after_setup_theme', 'child_theme_large_image_crop' );
    

    Then use a plugin such as Force Regenerate Thumbnails to regenerate the size of already uploaded images.

    Also, please read https://webmandesign.eu/manual/auberge/#image-sizes

    Regards,

    Oliver

    Thread Starter marychen

    (@marychen)

    Thanx, I′m going to check it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image size above the post’ is closed to new replies.