Image going out of grid

Hello, I’m very new to Webflow, and I have been making a website solely relying on libraries. I have stumbled upon a problem that seems impossible to get rid of. There is an image I have uploaded within a library preset for a header, and I increased the image size, but it goes out of the grid. However, I have tried increasing the size, but it still overflows. Can someone help? Sorry again, this probably has an easy fix, but I tried everything within my reach.


Here is my site Read-Only: (Webflow - Okänd)

Hi there,

To resolve image overflow issues in Webflow, here are several effective solutions:

For inline images, set the width to 100% on both the parent container and the image element itself. This ensures the image scales properly within its container and prevents horizontal overflow.

If the image is meant to be decorative or sit behind other content, converting it to a background image often works better. You can do this by setting the background image property on the container element and using background-size: cover to ensure proper scaling.

For troubleshooting, enable X-ray mode in Canvas settings to visualize element boundaries and identify which specific elements are causing the overflow issue.

Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.

On the image you’ve set a 120% width, and its containing div is set to overflow none. So it clips it the way you’ve requested.

You probably want to set the width of the image only to 100%, then set the div container possibly so it’s Flex centered to put the image in the middle.

Hey, this has helped fix the problem! I appreciate the help a lot! Thanks to both of the people who took their time to help.

1 Like