Resizing Thumbnail image on Home page

  • Author
  • #1283416

    After some trial and error, figured I would post here:

    I’m looking to resize the thumbnail images only on the home page. Right now the theme (Sight) simply crops the featured images to 280×280. I’d like them simply to be resized to 280x width.

    The blog I need help with is



    Theme description
    Note the image size requirements in the “Quick Specs” at the bottom.

    Featured images in the sticky posts slider are 290 in height with a flexible width (maximum width is 640).
    All other featured images are 290 width, and 290 in height. These images are displayed on displayed on posts on the home page, on archive pages, and on the search results page.


    290, yes forgive me for my mistake.

    I suppose this means that I’ll go resize all of my own images.



    a) You didn’t make a mistake: the PHP of the theme specifies 290 max width and 290 max height, but the block that contains them is set as a percentage of the main column width in the CSS of the theme, and this percentage shrinks the featured images to maximum 280.

    b) Since the maximum dimensions are set in the PHP of the theme, you can’t change them via CSS editing. So yes, if you want complete instead of cropped featured images on the front page, you need to downsize them to 280px wide before uploading them.


    Thanks justpi!


The topic ‘Resizing Thumbnail image on Home page’ is closed to new replies.