Black Friday Sale! Save up to 50% off!

assistance Required: Infinite Loop and Fade Effect for Carousel in Nicepage

info91872
7 Posts
info91872 posted this 13 August 2024
Ask a Question

Dear Nicepage Support Team,

I hope you can assist me with an issue I’m experiencing with the Nicepage Builder. I’m trying to create a carousel that automatically loops infinitely while also applying a fade effect at the edges. My goal is for the carousel items to smoothly fade in and out of the background while the carousel continuously scrolls.

I attempted to use the following custom CSS code:

.karusell {
width: 100%;
overflow: hidden;
position: relative;
}

.karusell .karusell-wrapper {
display: flex;
animation: scroll 20s linear infinite;
}

.karusell .karusell-item {
flex: 0 0 auto;
width: 20%;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}

.karusell .karusell-wrapper::before,
.karusell .karusell-wrapper::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 10%;
z-index: 2;
pointer-events: none;
}

.karusell .karusell-wrapper::before {
left: 0;
background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.karusell .karusell-wrapper::after {
right: 0;
background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.karusell:hover .karusell-item {
opacity: 1;
}

However, the effect is not working as expected. There are issues with both the infinite looping and the fade effect at the edges.

Questions:

1.  Are there any known limitations or compatibility issues with custom CSS in the Nicepage Builder that might prevent this from working?
2.  Could you provide guidance or instructions on how I might correctly implement this animation?
3.  Is there a better method or built-in feature that I should consider using instead?

I greatly appreciate your support and look forward to your response.

Best regards
Niklaas

Dear Nicepage Support Team, I hope you can assist me with an issue I’m experiencing with the Nicepage Builder. I’m trying to create a carousel that automatically loops infinitely while also applying a fade effect at the edges. My goal is for the carousel items to smoothly fade in and out of the background while the carousel continuously scrolls. I attempted to use the following custom CSS code: .karusell { width: 100%; overflow: hidden; position: relative; } .karusell .karusell-wrapper { display: flex; animation: scroll 20s linear infinite; } .karusell .karusell-item { flex: 0 0 auto; width: 20%; opacity: 0; transition: opacity 0.5s ease-in-out; } @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } .karusell .karusell-wrapper::before, .karusell .karusell-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 2; pointer-events: none; } .karusell .karusell-wrapper::before { left: 0; background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); } .karusell .karusell-wrapper::after { right: 0; background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); } .karusell:hover .karusell-item { opacity: 1; } However, the effect is not working as expected. There are issues with both the infinite looping and the fade effect at the edges. Questions: 1. Are there any known limitations or compatibility issues with custom CSS in the Nicepage Builder that might prevent this from working? 2. Could you provide guidance or instructions on how I might correctly implement this animation? 3. Is there a better method or built-in feature that I should consider using instead? I greatly appreciate your support and look forward to your response. Best regards Niklaas
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 13 August 2024

Hello Niklaas,

We are sorry, but unfortunately, Nicepage does not provide support for custom codes.
We can only suggest using any trusted plugin with similar features for the Carousel.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Niklaas, We are sorry, but unfortunately, Nicepage does not provide support for custom codes. We can only suggest using any trusted plugin with similar features for the Carousel. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Support Team
Support Team posted this 14 August 2024

Niklaas,

  1. Are there any known limitations or compatibility issues with custom CSS in the Nicepage Builder that might prevent this from working?

You can add the code in the Settings and HTML Element. However, we cannot guarantee its bug-freeness. You will have to debug yourself.

  1. Could you provide guidance or instructions on how I might correctly implement this animation?

Try to use the Image Carousel.

  1. Is there a better method or built-in feature that I should consider using instead?

Still Carousel Layout.

...................................................
Sincerely,
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Niklaas, > 1. Are there any known limitations or compatibility issues with custom CSS in the Nicepage Builder that might prevent this from working? You can add the code in the Settings and HTML Element. However, we cannot guarantee its bug-freeness. You will have to debug yourself. > 2. Could you provide guidance or instructions on how I might correctly implement this animation? Try to use the Image Carousel. > 3. Is there a better method or built-in feature that I should consider using instead? Still Carousel Layout. ................................................... Sincerely, Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info91872
7 Posts
info91872 posted this 14 August 2024

thank you very much

thank you very much
You must log in or register to leave comments