• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

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

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: resolved

Tagged: Eleven40, feature, image, size

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by Jeremi.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 2, 2013 at 7:53 am #17337
    MM
    Member

    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

     

    February 2, 2013 at 8:39 am #17343
    Anita
    Keymaster

    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.


    Love coffee, chocolate and my Bella!

    February 2, 2013 at 8:46 am #17345
    Anita
    Keymaster

    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/.


    Love coffee, chocolate and my Bella!

    February 4, 2013 at 1:40 pm #17957
    MM
    Member

    Thanks Anitac.

    February 14, 2013 at 9:50 am #20314
    Jeremi
    Member

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

     

     

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble