- Posts: 1
- Thank you received: 0
Carousel slides stack instead of animate
-
zoeyv
Inactive member - Topic Author
- New Member
Less
More
10 years 10 months ago #37401
by zoeyv
Carousel slides stack instead of animate was created by zoeyv
I feel like I am missing something really dumb and simple but my Hot Full Carousel images with a Church.ly install just started stacking on top of each other instead of sliding. I used the Church.ly hotstart and all was good until I added my own images and text. I didn't do any funky mods to the component file.
One thing I noticed was that the HotThemes demo has a container div that mine does not (noted in purple below).
Here's the code from the demo:
<div class="hero">
<ul class="hero-carousel-nav"><li class="prev"><a href="#">Previous</a></li><li class="next"><a href="#">Next</a></li></ul>
<div class="hero-carousel hero-carousel-container" style="position: relative; overflow: hidden; left: 50%; top: 0px; margin-left: -2027px; height: 553px; width: 6755px;">
<article class="carousel-article" style="background-image:
Here's the example: demo.joychalmers.com/churchly/ and the difference in the code:
<div class="hero">
<div class="hero-carousel">
<article class="carousel-article" style="background-image: url( demo.joychalmers.com/churchly/images/carousel/chamber1.jpg ); background-size: cover; width: 1351px; background-position: 50% 0%;">
I'd appreciate any help I can get. Thanks in advance!
One thing I noticed was that the HotThemes demo has a container div that mine does not (noted in purple below).
Here's the code from the demo:
<div class="hero">
<ul class="hero-carousel-nav"><li class="prev"><a href="#">Previous</a></li><li class="next"><a href="#">Next</a></li></ul>
<div class="hero-carousel hero-carousel-container" style="position: relative; overflow: hidden; left: 50%; top: 0px; margin-left: -2027px; height: 553px; width: 6755px;">
<article class="carousel-article" style="background-image:
Here's the example: demo.joychalmers.com/churchly/ and the difference in the code:
<div class="hero">
<div class="hero-carousel">
<article class="carousel-article" style="background-image: url( demo.joychalmers.com/churchly/images/carousel/chamber1.jpg ); background-size: cover; width: 1351px; background-position: 50% 0%;">
I'd appreciate any help I can get. Thanks in advance!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #37410
by ivan.milic
Replied by ivan.milic on topic Carousel slides stack instead of animate
Yes , you need at least 3 slides so it could function
Please Log in to join the conversation.
Time to create page: 0.147 seconds