Streaming live at 10am (PST)

Image in div getting cut off


#1

The images in the mobile slider were getting cut off. I put it in a div. I made sure the div is tall enough to contain it, but it almost looked like the content below in the page flow was overlapping the container div. The only thing that seemed to work is setting a minimum height to the mobile-slider container. Is there a way to fix this problem without setting a specific height?


Site link:

https://preview.webflow.com/preview/peak-fitness?utm_source=peak-fitness&preview=efc290d01ee103efa7dced1977546ae2


#2

width: 100%; height: auto;

Out of topic - you use very large images (4mb!)


#3

Thanks! Out of topic–It’s because I have no idea what I’m doing :smiley: I was thinking I’d go through and optimize images after I figured out where things were going.