Can't get Bootstrap carousel to work

Hi there,

I am trying to add this to a page, but i am having issues with it loading.

The above one is working fine.

This is my fiddle:

As you can see, the boxes are appearing, but without the scrolling function.

Can anyone help me with getting it to function correctly?

Many thanks!

1 Like

The codepen is using a different version of the bootstrap files and jquery and also the popper js file is missing.

If I replace those files in your fiddle it works.

1 Like

Thanks for the reply. I can’t seem to get it working on my live site, nor any other sliders for some reason.

Can I post a link here to the live site, but give it a no follow so Google doesn’t crawl the link from here?

Forums links are “nofollow” by default, but if you’re worried, you can add a backtick before and after the URL to format it as code. e.g. https://www.sitepoint.com/community/

Thanks for the reply.

Not too sure what a backtick is - is it something wrapped in double quotes?

This is the live website:
https://modelindex.co.uk/

I have not updated the Bootstrap version as I’m not sure which version you used. Also, my theme seems to have bundled it in with their own CSS so there is not a separate Bootstrap file. I guess I could remove the theme one and replace it with the CDN Bootstrap file.

As you can see, the carousel isn’t working on the live site. I am not getting any errors in console.

` The top left key on US/UK keyboards, but unfortunately some European and other keyboards don’t have that character.

Three backticks above and three backticks below a section will format a code block. A single backtick before and after the relevant section will format inline code, as in my example.

Alternatively, highlight the code and use the </> button.

1 Like

Thanks, I used the 3 backticks :slight_smile:

1 Like

I’m away from a computer for 3 days so hopefully someone else will jump in and help :slight_smile:

1 Like

No problem at all. I will see it I can work it out, but am a bit stuck.

I have managed to get it to work by including the latest version of Bootstrap and Popper into the theme :slight_smile: