Home › Forums › JavaScript › AnythingSlider – Moving caption location › Re: AnythingSlider – Moving caption location
February 3, 2012 at 6:03 pm
#96132
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.