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

Centre slider on active slide #1252

Open
graceWeareduo opened this issue Jan 12, 2015 · 0 comments
Open

Centre slider on active slide #1252

graceWeareduo opened this issue Jan 12, 2015 · 0 comments

Comments

@graceWeareduo
Copy link

This issue may have been raised before, but I'm wondering if anyone knows how to make the active slide be the centre slide? I have the slider set up so that it is centred, with the previous and next images visible on either side. I need them to be faded out until active, so the easiest way to do this is to be able to target the active slide, however I'm finding that the active slide is always sitting over to the right, where the next slide should be. I have tried various methods of centering, including this:

.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; background-color: #ffffff; text-align: center;} 
.flexslider .slides img {width: auto; display: inline;}

but with no success. Anyone have any clues how to address this? The slider can be seen here:
http://5.133.180.234/~mastercraft/sectors/healthcare/everyman-theatre

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