In this tutorial, I will show you how to randomize the slides in an Elementor background image slideshow. This will work for the sections, columns and containers background slideshows.
People often wonder how to make these Elementor background slideshows random, well here it is!
See the demo here (refresh the page with the reload icon in the top right)
It even works to randomize two or more background slideshows on the same page.
Let's get started!
First, copy paste this code in a HTML element on your page
This is a premium tutorial. Purchase access to unlock the full tutorial.
15 Responses
Hi, I followed the instructions and it is not working, I tried it with these two pages:
https://ricardob42.sg-host.com/our-team/
https://ricardob42.sg-host.com/our-portfolio/
Forget it, I was putting the class name in CSS ID
Glad you got it resolved Ricardo!
Hi there and thank you so much for these great code,
I just had a quick question is it possible to just load only 1 background of the slideshow for every refresh instead of having it as a slideshow?
It would be better for the page load time as well.
Thanks🙏
Hey Chris!
Had to read several times to understand what you were asking... Now I think I got it: You don't want a background slideshow, you want a random background image, from a preselected set of images.
This is possible, however not with the current tutorial, and it is not the intention of the current tutorial...
It's a good idea for a new tutorial though (that would be free).
I will try to write it soon.
Cheers!
That's great thank you so much. I'm looking forward to it. Can you please link it up to your response?
Sorry if it took you some time to understand it, maybe I m a bit dyslexic sometimes 😂
Also i wanted to tell you that sometime when loads the page, I have a white background instead of an image! Do you know why ?
I'm not certain why that would be... Does it happen often?
Yes, it happens from time to time when the page load.
Have a look at the screenshot below
https://snipboard.io/clri7o.jpg
Could you confirm that it never happens if the code isn't there?
Would it be possible that you have a quick look ?
Its annoying to find a white page on the landing page.
It would be greatly appreciated !
Christopher
Sorry for the late reply I didn't see your message before !
No it want happening before !
Maybe if we do this code:
Had to read several times to understand what you were asking... Now I think I got it: You don't want a background slideshow, you want a random background image, from a preselected set of images.
This is possible, however not with the current tutorial, and it is not the intention of the current tutorial...
It's a good idea for a new tutorial though (that would be free).
I will try to write it soon."
Maybe that will work better ?
☺️
Thx
Hi, is it possible to get this to work with a dynamic tag to an ACF gallery?
I purchased this with the presumption that this would work but whenever I use the dynamic tag no images load.
Many thanks
Hey George!
This tutorials intents is simply to modify the native Elementor Background image slider, by randomizing the slides.
If the Elementor background slider isn't working, this tutorial won't fix it / add functionality to it (such as add ACF support).
If I understood you correctly. If you are instead saying that with my code in place, the background slider, fed by ACF, breaks, then please share your URL with me, I will have a look.
Cheers!