how to display whole image instead of just part of it in the homepage?

Community Forums Forums Design Tips and Tricks how to display whole image instead of just part of it in the homepage?

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  choikh 1 year, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31884

    choikh
    Participant
    Post count: 22

    Hi, I am using Generate Child Theme.

    In the homepage, how can I make it display the whole image of the post instead of just showing the center part?

    Here is my site

    #31896

    bandj
    Participant
    Post count: 184

    Your #content width is 570px and your image is 600px. So you can either change the width of #content, which would mean changing other column or wrap widths, or make your images 570px wide.


    #31910

    braddalton
    Participant
    Post count: 10263

    You can add a new image size to your child themes functions.php file:
    [php]
    add_image_size ( ‘custom’, 570, 285, TRUE );
    [/php]

    Then select that for your featured posts images on the home page widgets for your posts.


    #32096

    choikh
    Participant
    Post count: 22

    I think you misunderstand my meaning.

    I want the featured image to become square. Can I do that?

    There is no change for the featured image height although I change the below code:

    [code]

    /** Add image sizes */
    add_image_size( 'featured', 610, <del>170</del> 610, TRUE );
    add_image_size( 'grid', 290, 130, TRUE );

    [/code]

    #32101

    braddalton
    Participant
    Post count: 10263

    I tested this and it works.

    [php]
    add_image_size ( ‘custom’, 610, 610, TRUE );
    [/php]
    And select it from the drop down for display feature image in Genesis Content Archives.


    #32178

    choikh
    Participant
    Post count: 22

    I try this and only the content changed.

    Can I have it displaying 610*610 image at the homepage?

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

You must be logged in to reply to this topic.