To stretch a background image to fill the entire screen in Webflow without preserving its aspect ratio, you need to adjust the background image settings on the appropriate element (like the body
or a section).
Body
element in the navigator or canvas.To ignore the image’s natural aspect ratio, use the following steps:
This forces the image to stretch both vertically and horizontally, distorting it if needed to fill the screen or element bounds.
Important: This method removes aspect ratio preservation. If you want this effect on all screen sizes, ensure the parent container (e.g.,body
orsection
) is set to at least 100vw width and 100vh height.
body
or a full-screen section:body
, you might need to set min-height: 100vh using custom code or through the Style panel if using a parent wrapper element.To stretch a Webflow background image across the screen without keeping its aspect ratio, set the background Size to "Custom", then set both Width and Height to 100%. Also ensure the containing element has 100vw width and 100vh height to cover the full screen.