Skip to content

Conversation

@willyboy
Copy link

In response to feature request/issue #2424

This adds a "slider-width" attribute to a slide box which can take a value between 0 and 1 (representing 0-100%).

The next/prev slides will be partially visible if anything other than 1 is set.

Defaults to 1 (100%).

@ajoslin
Copy link
Contributor

ajoslin commented Dec 1, 2014

You can already do this with CSS by setting the width of the .slider-slide class.

@ajoslin ajoslin closed this Dec 1, 2014
@willyboy
Copy link
Author

willyboy commented Dec 1, 2014

I'll have to try it out but I didn't see any code that would make that work when I was writing this. Why was it an open feature request on trello as well if you could already do it?

@foram-patel
Copy link

i don't understand where i have to write this attribute...
i am not able to change width of please help....

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

Successfully merging this pull request may close these issues.

4 participants