Support » Theme: Hueman » Featured Images size issue

  • Resolved Tekka


    Hi there,

    Thank you for the amazing theme! I love it! I do need a bit of help though if possible.

    I have altered the default image sizes in the functions.php of my child theme

    add_image_size( ‘thumb-large’, 720, 440, true );

    This seems to work fine on some older posts but I have just added a new post with a featured image to appear on my home page (blog) and it’s cropping it back to 340 height.

    I have checked the uploaded image which looks fine and I have tried to regenerate thumbnails but this hasn’t had an effect.

    I have checked the source code to see if a specific css was affecting it but can’t see how, and the image link states 340 also even though I haven’t specified this.

    I may be missing something obvious but I can’t figure it out…

    Can you point me int he right direction on how to fix this, and how to stop it happening in the future?



Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Emma!

    If you’ve changed the size in the functions.php of your child theme correctly, it should work.

    Some possibilities:
    – Make sure the child theme is the active theme, not the parent one
    – Has the child theme function somehow been edited back to default values?
    – Does the functions file of the child theme have any error that may break the alx_setup function?
    – Are you editing the size for thumb-medium as well? The large one shows up in the featured spot, the medium one shows for all the others – so that would need to be edited too.

    Since you had it working, and now it suddently does not, it sounds like you may have made some code change that broke/changed the stuff back to default.

    Thanks for such a quick response Alexander.

    I have checked the points you made and can’t see anything wrong. Currently I only have thumbnail image sizes in my functions.php file, as below

    if ( ! function_exists( ‘alx_setup’ ) ) {

    // Thumbnail sizes
    add_image_size( ‘thumb-small’, 160, 160, true );
    add_image_size( ‘thumb-medium’, 520, 318, true );
    add_image_size( ‘thumb-large’, 720, 440, true );


    Is there any way of checking how I could have broken something else or shall I just remove child files to see if I can find the offender?


    You would need to include the whole alx_setup function in the child theme, with your edits, like this:

    function alx_setup() {
    	// Enable automatic feed links
    	add_theme_support( 'automatic-feed-links' );
    	// Enable featured image
    	add_theme_support( 'post-thumbnails' );
    	// Enable post format support
    	add_theme_support( 'post-formats', array( 'audio', 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
    	// Declare WooCommerce support
    	add_theme_support( 'woocommerce' );
    	// Thumbnail sizes
    	add_image_size( 'thumb-small', 160, 160, true );
    	add_image_size( 'thumb-medium', 520, 318, true );
    	add_image_size( 'thumb-large', 720, 440, true );
    	// Custom menu areas
    	register_nav_menus( array(
    		'topbar' => 'Topbar',
    		'header' => 'Header',
    		'footer' => 'Footer',
    	) );

    Thanks – that has worked now after amending the functions.php and regenerating thumbnails 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Images size issue’ is closed to new replies.