• How to I get a vertical portrait photo as featured image. Also the wide (landscape) photo looks pixelated even if I upload a larger pixel size photo.

    I’d like to use a vertical image, but set it to say 500px wide and not have it enlarge to fill screen. It’s fine if there’s white margin on the right side of image.

    Basically how to I stop photo from expanding to fill the content width and show up sharp.

    Found this and tried different setting but nothing works:

    // Thumbnail sizes
    add_image_size( ‘thumb-small’, 160, 160, true );
    add_image_size( ‘thumb-standard’, 320, 320, true );
    add_image_size( ‘thumb-medium’, 520, 245, true );
    add_image_size( ‘thumb-large’, 500, 800, true );

Viewing 1 replies (of 1 total)
  • Hi platingpixels. You can adjust the width using css:

    .home .flexslider .slides img {
        width: 500px;
    }
    
    .single .post .image-container img {
        width: 500px;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Featured image vertical and not fill content width’ is closed to new replies.