Forums

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

Home Forums JavaScript Slider displays weird. Reply To: Slider displays weird.

#148925
Ed
Participant

That’s a different bug to what you described in your first post, which is what I was trying to fix.

I’m a bit confused now: did they only start to “stack” on top of each other when you added the CSS I wrote?

If that’s the case, remove what I wrote and try this:

.banners {
    height: 60px !important;
    overflow: hidden !important;
}

What we’re doing there is adding a fixed height onto the slider, and hiding anything that overflows beyond that height, so that even if the images haven’t been styled yet it shouldn’t break the layout.

Weird that my initial solution caused that bug. Let me know how this one goes.