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
stagePadding on one side #172
Comments
Could you show us an example (e.g. screendesign) or showcase where this would make sense? |
For fixed width items and on spesific screen sizes
|
I don't get it really :/ ... A picture would be more meaningful. |
http://cl.ly/image/1M440Z440F06 Maybe this is possible with the current slider even? am i missing something? |
Does it look like that all items have a fixed size over all screens? Or should have ... |
In this case it should work when you just disable |
Maybe I'm wrong and you have also to set auto width too and the fixed width for your items by css. |
I had the same issue, I resolved it by adding a negative .owl-stage {
right: -10px;
} |
even im facing same problem im using stage padding i was able to remove padding left but i want to remove padding from right either and black space on owl-stage class.. |
When setting stagePadding it does so on the left on the right. Is it possible to only set it for the right side? |
You can just set |
@fcubria This is exactly the implementation i'm trying to create - did you ever figure out a means of doing this? Edit: I've managed to implement this by setting |
Thanks @kevinmack18 Save my life! |
@nuflowx I prefer your approach over @kevinmack18 because it avoids the need to keep two values in sync (css and js) instead of just one. Thanks! |
@fcubria yes it is possible you have to use the stagePadding with .owl-stage css property for example:
|
@sushantvishwas1990 if I have 2 carousel in my page and I wont only 1 carousel left: -100px? What I do? |
|
On applying stagepadding with the left in negative works great. But, for the last item, it needs to be in the center while the loop: false. On loop: false, white space exists for the last item. How can we fix this? |
this can be fix by using 1.5 items but it can not swipe on mobile |
StepPadding leaves blank space on right side when the number of items are completed after using right : -10 px important |
Greate, thank you. It worked for me, made my day |
.owl-stage { padding-left to 0 fixed my issue |
Hi, is this possible?
The text was updated successfully, but these errors were encountered: