glide icon indicating copy to clipboard operation
glide copied to clipboard

How can I get a slider with a single slide in it to still 'reserve' the spots for slides that don't exist yet? Right now it's centering the only slide, and instead I want it to appear in slot 0 of whatever the perView setting is.

Open CodeBradley opened this issue 1 year ago • 2 comments

I have an ecommerce widget that shows Recently Viewed items and if they have only viewed one item, I just want that one item to appear in slot 0 of 5, for instance. If there are 2 slides, then I want them in slot 1 & 2 of 5. How can I get my sliders to do this instead of it dividing the width of the slider by the number of slides?

CodeBradley avatar Apr 28 '23 19:04 CodeBradley

Screen Shot 2023-04-28 at 2 58 14 PM

CodeBradley avatar Apr 28 '23 19:04 CodeBradley

I'm guessing there's no good solution for this right now? I've skimmed the settings multiple times and can't wrap my head around a solution unless I add empty slides.

CodeBradley avatar May 02 '23 18:05 CodeBradley