Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Carousel Testimonials Autoplay & Loop


dunnedesign

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

You mean Gallery Reel? If you share link to page where you use gallery, we can give the code

5 answers to this question

Recommended Posts

  • 0
On 2/23/2021 at 3:41 PM, freelancervillepalmu said:

Hey! Is this slider from the earlier Squarespace? I'm trying to do the same layout but with Squarespace 7.1. but cannot find anything that does this. 

You mean Gallery Reel? If you share link to page where you use gallery, we can give the code

Link to post
  • 0
On 3/17/2021 at 6:13 PM, freelancervillepalmu said:

Hey tuahphan!

I'm not using it anywhere, yet 🙂 But I need a way to display 3-5 separate testimonials one at a time on the front page. Just text content. 

You can add a Code Block >> Paste this code

<div class="container">
  <div class="text-container">
    <div class="carousel">
      <div class="inner">
        <div class="element">CSS Experiment</div>
        <div class="element">Text Carousel</div>
        <div class="element">No Javascript</div>
        <div class="element">CSS Animation</div>
        <div class="element">CSS Experiment</div>
      </div>
    </div>
  </div>
</div>
<style>
  .container {
  background: #de2d26;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 1.5em;
  margin-bottom: 30px;
}

.carousel {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  height: 32px;
  margin: 0 auto;
  text-align: center;
}
.inner {
    animation: scroll 5s ease-in-out infinite;
}
.element {
  font-size: 1.1em;
  text-shadow: 0px 2px 2px #fba09d;
}

@keyframes scroll {
  0%, 20% {
		transform: translateY(0);
	}
	25%,45% {
		transform: translateY(-32px);
	}
	50%,70% {
		transform: translateY(-64px);
	}
	75%,95% {
		transform: translateY(-96px);
	}
	100% {
		transform: translateY(-124px);
	}
}
</style>

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...