In this tutorial, I will show you how to create an Elementor Image Carousel where you can display the caption of the active slide anywhere you wish, instead of directly below it.
It's great for a kind of design where you have an image on one (or above/below on mobile), and the related text beside it.
See the demo here (scroll down to see the 3 images demo):
Features:
- The caption is shown in a Heading element, so you can style it as you wish from the UI
- Place that heading element anywhere at all on the page
- Can all be dynamic by using the ACF Gallery Field (or equivalent) and entering the caption in the "description" field of the images
Let's get started!
First, let's setup our Elementor image carousel
This is a premium tutorial. Purchase access to unlock the full tutorial.
9 Responses
I'm trying to have this show up in separate instances responsively, whereby the caption shows up in my sidebar header in a window >1040px, and under the carousel within the page itself when on viewed on tablets and mobile. It works on the sidebar currently, but only shows stock text when I go into mobile. Does anyone know how I can get this to work? Site is at http://www.yqin.art.
Greetings Chicken Squack!
For this, in the HTML element, change these 3 lines:
to this:
And below this line:
add this line:
Cheers!
Amazing, thank you!
Welcome!
Hi Maxime!
I've discovered a use case for a carousel with only 1 image: for a portfolio, where the carousel is populated dynamically using ACF Pro gallery for different projects, where I call a different post type for a single-image gallery when necessary (that way I can change the code in the HTML element). I can not figure out how to alter the code to get the caption to appear for a carousel that has only one image in it. I'm sure it's a simple tweak. Thanks!
Greetings Tomottoe!
I updated the code to support a single image. It was actually quite complex, I rewrote the whole thing pretty much!
Cheers!
Thank you so much--extremely helpful. I'm sorry it was a whole rewrite--but at least I wasn't missing something obvious and simple! 🙂
Cheers!
Hi Maxime--
I copied the new code into my site and it broke the captions for all posts, regardless of single or multiple images.
Unfortunately, my site is not live right now, so I can't point you to it for troubleshooting.
If you're interested, when it is up (end of this week?), I'll let you know and leave a page configured with the new code.
In any event, I do appreciate your efforts, and I can certainly use the original code and kludge a solution for a single image.
best
tom
Thanks for letting me know Tom!
Yes I'd be glad to have a look when you have it live.