Webflow sync, pageviews & more.
NEW

How do I add a color overlay to an image in Webflow?

TL;DR
  • Wrap the image in a relatively-positioned div.
  • Add an absolutely-positioned overlay div on top with background color, adjusted opacity or blend mode, and higher z-index if needed.

To add a color overlay to an image in Webflow, you can layer a div with a background color on top of the image using positioning and blend modes or opacity.

1. Wrap the Image in a Div

  • Drag a Div Block onto the canvas.
  • Place your Image inside the Div Block.
  • Rename the outer div as something like "Image Wrapper" for clarity.

2. Set the Image Wrapper to Relative Position

  • Select the Image Wrapper.
  • In the Style panel, set the Position to Relative. This allows the overlay to be absolutely positioned over the image.

3. Add the Overlay Layer

  • Add another Div Block inside the Image Wrapper, above the image (in Navigator, drag it above the image).
  • Name it something like "Overlay".

4. Style the Overlay

  • Set its Position to Absolute and give all sides (top, bottom, left, right) a value of 0 so it covers the whole image.
  • Set the Background Color to your desired overlay color.
  • Adjust the Opacity (under Background color) to control transparency.
  • Optionally, use Blend Mode (e.g., Multiply) under the Effects section for more advanced visual blending.

5. Optional: Adjust Stacking Order

  • Make sure the overlay appears above the image by setting a higher Z-index than the image if needed.

Summary

Wrap your image in a relative-positioned div, then add an absolutely-positioned inner div with a background color and opacity/blend mode to create the overlay effect. This keeps your layout clean and responsive while visually enhancing your images.

Rate this answer

Other Webflow Questions