Skip to content
Docs

Image sizes in the Stax theme

Upload featured images in landscape format, at least 1100 by 620 pixels. That is the largest size Stax generates, and every smaller size is cropped from it.

WordPress creates these sizes for each image you upload while Stax is active. All except the last are cropped to the exact dimensions.

Name in the size dropdown Slug Size
Stax wide mega large image stax-img-wide-xxl 1100 x 620 px
Stax wide large image stax-img-wide-xl 700 x 400 px
Stax mega large image stax-img-xxl 700 x 700 px
Stax extra large image stax-img-xl 350 x 560 px
Stax large image stax-img-lg 350 x 350 px
Stax medium image stax-img-md 240 x 240 px
Stax small image stax-img-sm 120 x 120 px
Stax extra small image stax-img-xs 100 x 100 px
Stax for lazy load stax-lazy 45 px wide, height in proportion

The sizes also appear in the image size dropdown of the WordPress editor, next to Thumbnail, Medium and Large.

In blog, category and search lists, the theme picks the size from the listing style (list, grid, masonry), the number of columns, the container width and the screen width, so a phone downloads a smaller file than a desktop. The listing options are described in Archive listing.

The tiny stax-lazy size is the placeholder shown before the real image loads, when Lazy Load Images is on in Performance.

Images uploaded before you activated Stax do not have the Stax sizes, which shows as blurry or badly cropped thumbnails. To create the missing sizes:

  1. Install and activate the Regenerate Thumbnails plugin.
  2. Go to Tools > Regenerate Thumbnails.
  3. Regenerate all images, or only the featured images.