How can I resize an image in Webflow?

TL;DR
  • Adjust image size directly in the Style panel or apply a class for consistent styling across pages.  
  • Use a wrapper Div for responsive control or set background image sizing via object-fit in the Background section.

To resize an image in Webflow, you can adjust its dimensions using styles or wrappers, depending on how you’ve added the image.

​

1. Use Image Settings for Inline Images

​

  • If the image is added using the Image element from the Add panel, click on the image in the Designer.
  • In the Style panel, adjust the Width and Height under the Sizing section.
  • You can set values in pixels (px), percentages (%), or viewport units (vw/vh).
  • Use the Max Width and Max Height properties to maintain responsiveness.

​

2. Use CSS Classes for Consistent Control

​

  • Select the image and add a class (e.g., custom-image).
  • In the Style panel, set specific dimensions for that class.
  • This allows easy reuse of the same styling across pages while maintaining consistency.

​

3. Use a Wrapper for Advanced Layouts

​

  • Wrap your image in a Div Block (use the Navigator or right-click → Wrap in Div).
  • Set the dimensions of the Div and set the image’s width/height to 100% to scale it with the container.
  • Helpful for responsive layouts or aspect ratio control.

​

4. Override with Object Fit (for Background Images)

​

  • If your image is set as a background on a Div Block, use the Background section in the Style panel.
  • Set Size to Cover, Contain, or use Custom values for precise control.

​

Summary

​

To resize an image in Webflow, you can: (1) directly adjust Width/Height in the Style panel, (2) apply a class for consistent sizing, (3) use a wrapper Div for responsive flexibility, or (4) tweak background image settings with object-fit options.

Rate this answer

Other Webflow Questions