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

Change left-rigth to up-down ... #848

Open
stopoverandcatchfire opened this issue Jun 26, 2020 · 0 comments
Open

Change left-rigth to up-down ... #848

stopoverandcatchfire opened this issue Jun 26, 2020 · 0 comments

Comments

@stopoverandcatchfire
Copy link

stopoverandcatchfire commented Jun 26, 2020

When using the vertical mode "vertical: true" it is necessary to modify ".jcarousel ul" for everything to work.

"vertical: false"

.carousel ul {
    width: 10000em;
    height: 100%;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

"vertical: true"

.carousel ul {
    width: 100%;
    height: 10000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

Can't these changes be made by "jcarousel" ?

The "rtl: true" option does not work. It is necessary to change CSS ".carousel li":

"rtl: false"

.carousel li {
    float: left;
}

"rtl: true"

.carousel li {
    float: right;
}

Any solution ?

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