Hi,
I have a header which I want the height to be 560px. The problem is that on mobile the header overflow but I do no care about the height. So what I have used was min-height. Meaning that if the container doesn’t overflow then stay 560px but if it does then grow with the content.
The problem is that on mobile, even tho the content overflows the container keeps its 560px size, and all the content overflow on top of the content that is under the header. I also have 3 sliders, a carousel, and when I add overflow of x hidden the problem changes and now the content under the header is scrollable on top of the slide content.
I will leave a code pen with the code. The code doesn’t really run in codepen as it does in my project but the problem is still present. Also, the header does not keep his bottom padding of 25px for some reason
Also, if you know a fix on how I could reset the slide size when you resize the window so I don’t have that bug where the other slide is visible would be appreciated
Codepen: