In this tutorial, you will learn how to create an Elementor stacked cards kind of design.
Specifically, you will learn how to create this design:
The idea for the version 1 animation (with the squirrels) comes from this website.
Here is a reversed version:
Features:
- Your own content: These are simply Container elements, have whatever elements and design you want for them
- Performant animation: Carefully coded to have the animation be as smooth as possible
- Lightweight: Vanilla JS (no dependencies), page load performance is preserved
- Original: Not a design we see too often!
- Anchor link support: You can now link to each container directly
- Customizable: Adjust the animation, and the anchor's colors and fonts as you wish
- Templates provided: Get a quick start by importing the template of your choice on your page
This could be a nice design for featured portfolios items, product features and other.
Let's get started!
First, import the template on your page
This is a premium tutorial. Purchase access to unlock the full tutorial.
27 Responses
The template is working great! Thanks a lot! It would be nice to have buttons above the cards. When click on a button a specific card scrolls up (and down when click button to show previous card). Like this: https://colabs.com.au/services. What do you think?
Thanks for sharing! When I have a chance I will add this functionality!
That would be great! I hope you have time soon. Keep us posted!
Hey Jurgen!
Just to let you know I added anchor link support to the tutorial!
Cheers!
Really like this template, but I seem to have trouble to figure out how to reverse the scroll when for instance adding anchors to each card and using buttons to go to the corresponding container. It works fine on scroll down but scroll up of course brings problems because the card overlap. Any ideas how I could fix this?
Hey Jeremie!
Could you share your page with me? I will have a look!
Hey Maxime
This is the page in question: https://mhks.digitalnomads-designs.be/home/
Thank you Jeremie. I have added anchor links support!
The easiest way to import the update would be to copy paste the template on your page, then delete everything except the HTML element, and delete your old HTML element.
Cheers!
That did the trick, thank you! 🙂
This is great Maxime. Can you add some variations like these?
Greetings Renz,
I have added many more options for the design and layout!
Cheers!
Hey, there is no video of this tutorial? its not working what ever i do ,
Greetings cocoteam!
Did you import the template fresh on your page?
What happens then? Nothing works?
If so, please see this tutorial: Debugging Position Sticky Not Working
If the issue is something else, please share your URL with me, I will have a look.
Cheers!
Thanks for the prompt response!
I tried every trick in the book.
I disabled all plugins and left Elemntor Pro only I cleared the cache i deleted and imported the template on a fresh page and still no luck.
Here is the link:
https://wordpress-812498-4458778.cloudwaysapps.com/elements
Greetings cocoteam!
Yes the issue is indeed related to position:sticky; not working.
You have this CSS on your page, I think you added it under Settings > Site Settings > Global CSS:
On the pages where you will have position:sticky elements, you can't have body {overflow-x:hidden;} as it is creating a new scrolling context, and breaking position:sticky;
So on these pages, add this CSS:
Or just delete that CSS altogether, and follow my tutorial here to take care of overflow: https://element.how/remove-elementor-horizontal-scroll-mobile/
Cheers!
Hi Max, how can we control the height on mobile?
Greetings!
I updated the code in the templates with a new variable
--fancy-card-wrapper-height-mobile: 92vh;
Please import the template again, keep only the HTML element and delete your old one, and add the variable under the fancyWrapper custom CSS to control the mobile height of the cards.
Cheers!
Hi Max, I tried to implement the new code and no luck I tried to troubleshoot for over 3 hours 🙁 the height doesnt get affected when you change the values for mobile
Really sorry about this, I fixed the code now it will work!
Sorry again!
Hi Maxime!
This template is absolutely awesome, works seamlessly.
But, I've tried to change some values for my design, following your instructiosn, without any success, please look this screenshot: https://cloud.cacomartin.com/6Wf4Yzyv
1. I don't need anchors, I would like to hide the extra space.
2. I would like to increase the height of the card (fancyCardWrapper) to match with the browser size.
Can you guide me please to make this changes?
Thanks in adavance.
Greetings Caco,
Please share your URL with me if possible.
Cheers!
Here is it:
https://jorgecoellofreelance.com/
Thank you!
Greetings Caco,
Make these changes. I'm presuming you want them full screen (100vh), if not just decrease this as you wish.
Change
--fancy-card-wrapper-height: 92vh;
to
--fancy-card-wrapper-height: 100vh;
Change
--fancy-card-wrapper-sticky-top: 4vh;
To
--fancy-card-wrapper-sticky-top: 0vh;
Change
--fancy-card-wrapper-padding-vertical: 30px;
to
--fancy-card-wrapper-padding-vertical: 0px;
And then, in the parent container, set the padding to 0 under Advanced > Padding, to remove the default 10px padding from Elementor.
Cheers!
Dear Maxime, thank you!
Now I found my error: When I copied the template, I keep the html code at the bottom, and the selectors from the first template are in fancyWrapper Container.
I made the changes and it works perfect!
Thanks!
Greetings,
Glad you got this working! Sorry I slightly misunderstood your question.
Cheers!
Hi Maxime, trying to follow the tutorial, when I add the template it doesn't then show up on my page... any suggestions? Thank you!
Actually don't worry, sorted it!