If you want to create full-width images in Webflow similar to those on Webflow’s own website, here’s how to do it.
1. Set Image as a Background
- Select the Section where you want the image to appear full-width.
- In the Style Panel, go to the Background section.
- Upload your Image and set it as a background image.
- Set the Image Position to "Center" and the Size to "Cover" to ensure full-width and to maintain aspect ratio.
2. Use Full-Width Image Element
- Drag an Image element into the Webflow Designer.
- Upload your Image using the Image element.
- Set the image's Width to 100% in the Style Panel.
- Make sure the parent container is set to full-width or a width of 100% to ensure the image displays correctly across the entire width.
3. Adjust the Container's Width
- Ensure that the Section/Div containing the image is set to full width.
- In the Style Panel, set the Width to 100vw. This stands for "100% of the viewport width," stretching the image to fill the entire screen width.
4. Add Custom Code if Necessary
- While avoiding raw HTML, if necessary, include custom CSS in the Page Settings under the Custom Code section to ensure full responsiveness.
- Use CSS width properties such as
width: 100vw; to help control full width across devices.
Summary
To achieve full-width images like those on Webflow's site, either use background images that cover a section or set the Image element’s width to 100%, ensuring both the image and its container span the full screen width. Adjust image positioning and size settings in the Style Panel for optimal display.