Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript AnythingSlider – Moving caption location Re: AnythingSlider – Moving caption location

#96132
Mottie
Member

When AnythingSlider has the “expand” option set to true, the outer wrapper needs to have a set height. Setting it to 100% of the body is why it keeps increasing.

If you look at this demo (from the main document page) you’ll see how to handle the wrapper css

#wrapper {
width: 100%;
display: block;
position: fixed;
height: auto;
top: 10px;
left: 0;
bottom: 10px;
right: 0;
}

or use “position: absolute” for mobile devices since position:fixed doesn’t work correctly.