Images cropped by viewport horizontally

Is there a way to make images larger than the view port without getting the extra horizontal scroll?

Basically the image would be cut by the view port. If the viewport is larger it’ll show more of the picture.

I managed to do that with background images, but I’m now trying with a normal image.



Hey mate,

You should be able to just set Overflow:Hidden on the parent div (P-Content L)

Otherwise you could use custom code to stop overflow on the x

body { overflow-x: hidden !important; }

Let me know how you go, sites looking great btw!

Yes! How didn’t I think of that… Overflow hidden on parent solved it. Cheers @Thomas_92! and thanks for the complement :wink:

1 Like