Image scaling, cut off right side at smaller viewports


Here is my site Read-Only: https://preview.webflow.com/preview/new-portfolio-site-bf80fa?utm_medium=preview_link&utm_source=designer&utm_content=new-portfolio-site-bf80fa&preview=dc04ae478d8ca1df1852b7455dbfe3fb&pageId=684242b5f5d2d59a121fb831&locale=en&workflow=preview

Hey everyone
I’m building my portfolio site and working on a case study page, and could really use some help.

The issue:
I have a header image that sits outside of the container margin, that normally scales and doesn’t get cut off at all. However, for some reason, at smaller breakpoints (tablet size and lower) the right side is getting cut off.
I’ve spent far too many hours trying to figure this out, so I thought I’d ask.
Part of my issue is that this is happening within a grid (which I don’t quite understand yet).
This whole section confuses me honestly.
It was part of a template I purchased, so I’m trying to deconstruct it and understand how it works, but obviously at this point I’m failing. :face_holding_back_tears:
I’ve included a couple screenshots of when it’s working fine and when it’s not, as well as the site read only link obviously.
Happy to answer any questions.
Thanks so much.

1 Like

Hi there,

Image overflow issues at smaller breakpoints can affect your site’s mobile responsiveness. To resolve this, you can implement several effective solutions:

The most straightforward fix is to use percentage-based widths and max-widths. Set your parent elements to 100% width and ensure child elements are 100% or less to maintain proper containment. For decorative images, converting them to background images often provides better control over their responsive behavior.

To identify the exact elements causing overflow, enable X-ray mode in Canvas settings - this will help you visualize element boundaries. You can also hover your cursor over extra whitespace while in Designer mode to pinpoint problematic elements. For thorough testing, try clicking and dragging the edge of the canvas at different breakpoints to verify your design remains intact across all device sizes.

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

1 Like

Hello @troy,
The issue you have has to do with your main grid. On mobile landscape and portrait it is overflowing because it is set to occupy three columns, two of those with min max values that don’t fit on smaller screens, so to fix that you have to modify your slide up animation divs. I made a quick loom to better show you how to change those divs. I hope this helps.

2 Likes

Thank you so much Pablo!
This was really helpful.

1 Like