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

Right & Left Arrow disappear #67

Open
martellapetesso opened this issue Aug 1, 2019 · 4 comments
Open

Right & Left Arrow disappear #67

martellapetesso opened this issue Aug 1, 2019 · 4 comments

Comments

@martellapetesso
Copy link

Hi everybody, i have an issue with the left and right arrows. With three images, I have the arrows in the centered image. With four images, it works perfect and with more than four images, the arrows are disappeared.

Code:

*.jsx

<div className="swipe-div">
                           <Coverflow width="500" height="300"
                                displayQuantityOfSide={2}
                                navigation
                                enableScroll={false}
                                infiniteScroll
                                active={0}>
                                <img src={images.about} />
                                <img src={images.bgBlog} />
                                <img src={images.home} />
                                <img src={images.bgBlog} />
                                <img src={images.bgBlog} />
                            </Coverflow>
                        </div>

*.scss

.swipe-div {
        max-width: 1000px;
        display: block;
        margin-left: auto;
        margin-right: auto;

        .coverflow__container__1P-xE {
            background: white !important;
        }
    }

4 Images:
Screenshot 2019-08-01 at 13 29 08

5 Images:
Screenshot 2019-08-01 at 13 29 24

@TheAksh
Copy link

TheAksh commented Aug 27, 2019

+1

@asalem1
Copy link
Collaborator

asalem1 commented Sep 5, 2019

@martellapetesso, thanks for bringing this to my attention. I'll try and get a PR up ASAP to fix this.

@PiyushVinayarajan
Copy link

PiyushVinayarajan commented Dec 3, 2019

Same here :(

@MonkeyDo
Copy link

MonkeyDo commented Dec 15, 2021

Had the same issue, and I managed to change their placement with some CSS fuzzy matching:

div[class*="coverflow__left__"]{
	left:calc(50% - 300px) !important;
}
div[class*="coverflow__right__"]{
	right:calc(50% - 300px) !important;
}

Be aware that you might need to play with these values to suit your needs.

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

5 participants