html - div height and overflow -
on template: gym
if add add more text under welcome title, form lowered down , disappears (class .home has overflow: hidden
).
if make visible on section under it. want div's height modified depending on text add, show content , start other section (w/o scroll div -> overflow: scroll
)
thanks!
make form position:relative; , carousel position:absolute; (with positioning).
this make sure height adjust, still allow carousel flow in background.
edit (this used):
.home form { background-color: rgba(0,0,0,0.3); height: 100%; padding-top: 150px; position: relative; width: 100%; z-index: 90; } .carousel { position: absolute; top: 90px; left: 0; width: 100%; }
Comments
Post a Comment