Okay, there is a couple of steps.
First:
Go through your nav items that you want to use to control the slides, and in order give them an id. Start with heroslide1
, then heroslide2
and so on until you reach heroslide6
which should be on the 'Coming Soon'
link.
Second:
Open your page settings for the home page, on the page settings tab that opens scroll to the bottom where your custom code boxes are. You’re going to add two scripts.
First loads JQuery:
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
Then this
<script>
$('#heroslide1').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(1)').trigger('tap');
});
$('#heroslide2').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(2)').trigger('tap');
});
$('#heroslide3').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(3)').trigger('tap');
});
$('#heroslide4').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(4)').trigger('tap');
});
$('#heroslide5').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(5)').trigger('tap');
});
$('#heroslide6').click((e)=> {
e.preventDefault();
$('.hero-link').removeClass('active');
$(this).addClass('active');
$('.w-round div:nth-child(5)').trigger('tap');
});
</script>
That should work. Let me know if it doesn’t.
Some credit has to go to someone else in our community but I can’t remember their name, a while ago I found a solution they made years back and it filled in the blanks for me.