Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to CheckoutBrandingObjectFit

CheckoutBrandingObjectFit

enum

Possible values for object fit.

•

The Contain value for fit. The image is scaled to maintain its aspect ratio while fitting within the containing box. The entire image is made to fill the box, while preserving its aspect ratio, so the image will be "letterboxed" if its aspect ratio does not match the aspect ratio of the box. This is the default value.

•

The Cover value for fit. The image is sized to maintain its aspect ratio while filling the entire containing box. If the image’s aspect ratio does not match the aspect ratio of the containing box, then the object will be clipped to fit.


Was this section helpful?

•
OBJECT

The property used to customize how the product image fits within merchandise thumbnails.

•
INPUT OBJECT

The property used to customize how the product image fits within merchandise thumbnails.


Was this section helpful?