Eleven40 – How to change the default 'featured image' sizes

Community Forums Forums Design Tips and Tricks Eleven40 – How to change the default 'featured image' sizes

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Jeremi 1 year, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17337

    MM
    Participant
    Post count: 126

    Hi,

    I’m trying to edit the featured image sizes on different pages in Eleven40 theme

    a) on the homepage (where blogs are shown) 4 post grid system

    and

    b) on another blog roll page (where 5 posts are shown per page) straight down, no grid system

    Thks

     

    #17343

    anitac
    Participant
    Post count: 6446

    Look inside your Functions.php file. You should see this:

    /** Add support for Genesis Grid Loop */
    function eleven40_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features' 			        => 1,
    			'feature_image_size' 		=> 0,
    			'feature_image_class' 		=> 'alignleft post-image',
    			'feature_content_limit'    	=> 0,
    			'grid_image_size'		        => 'grid-thumbnail',
    			'grid_image_class'	         	=> 'alignnone',
    			'grid_content_limit' 		=> 250,
    			'more' => __( '[Continue reading]', 'genesis' ),
    		) );
    	} else {
    		genesis_standard_loop();
    	}
    
    }

    Add a featrured size where you see zero (0). The grid thumbnail is reading from the code below. Change that as you need it.

    ** Add new image sizes */
    add_image_size( ‘grid-thumbnail’, 270, 100, TRUE );

    You can copy/paste that line to create more sizes.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #17345

    anitac
    Participant
    Post count: 6446

    Oh, and to resize the featured images on the Blog page, go to Settings > Media and change the size there where it says “Thumbnail Size.” If they don’t re-size, you may have to use the “Regenerate Thumbnails” plugin – http://wordpress.org/extend/plugins/regenerate-thumbnails/.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #17957

    MM
    Participant
    Post count: 126

    Thanks Anitac.

    #20314

    Jeremi
    Participant
    Post count: 1

    I found the code above in the home.php file not the functions.php file in case anyone is having the same problem…

     

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.