Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #661

Open
CodeBradley opened this issue Apr 28, 2023 · 2 comments

Comments

@CodeBradley
Copy link

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
Copy link
Author

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

@CodeBradley
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant