Skip to content

How to center slides using embla carousel? #452

Closed Answered by davidjerleke
siamahnaf asked this question in Help
Discussion options

You must be logged in to vote

@fabz1001 thanks for the help!

It's always best to provide a codesandbox for a better and faster help

@siamahnaf This is very true. I prioritise questions with a CodeSandbox which is stated in the contribution guidelines.

You need to set startIndex to 2 to achieve what you want.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davidjerleke
Comment options

Answer selected by davidjerleke
@siamahnaf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants