[How to] Add an Image/Testimonial Carousel in Unbounce Using A Box Widget



Show first post

241 replies

This is pretty lovely 🥰

Tried this to no avail 😦 Thought I followed the instructions to a T.

@Jess please let me know if you have any insight here!

Hey all! I’m having issues with some of my images (pngs) looking grainier in the click through carousel than on the page not in the carousel. The odd thing is that not all of the images are being affected, but when I pull the grainy images out of the carousel they look better? Any idea why this might be happening?

Hi @Rob ! this was super useful!
I applied everything as you explained in the video, but the text inside the boxes don’t show up in the live version. can you help with this?

Hi there! :slight_smile
This script is aweseome! I just have one question:
For the first slider everythink works fine. But the second picture carousel just wont work. I added the script a second time and of course changed the box and buttons id’s. Anyone had the same problems with a second carousel?

I have added the script. Works great on desktop, but on mobile the copy is not resizing properly. https://tour.ndacademy.org/

I’ve just tried removing that script and still nothing. I might try changing it completely to the click through version and hopefully that works.

Userlevel 7
Badge +1

It came up in another instance here, which has some more explanation:

Userlevel 7
Badge +1

@Jodi smooth scroll might be the culprit. Check in the script used for your smooth scroll, it might have a jquery script that’s conflicting with the carousel script.

If you’d like, you can send me the link to your page overview and I can double check if that’s what’s causing this.

Hi @Jess so I have the Google library installed but I’ve tried removing that too and nothing happened so I figured I’d put it back. The only other script running aside from this is the smooth-scroll script.

I’m not sure if this helps but there’s the site: https://ignite.worldvision.org/wvus-ignite-fall20-tx/#lp-pom-form-119

Userlevel 7
Badge +1

Hi @Jodi, I’m testing a theory because I’ve seen this once or twice before. Are you running any other scripts on your page? Sometimes they don’t play well together.

-Jess

Hi everyone,

I’m trying to install a slider and I managed to get it working but it only shows slide2 and then fades to nothing. I’ve tired installing various versions of JQuery and removing what was there before, hiding and unhiding, duplicating slides but still nothing. Anyone know what might be the issue here?

I’ve been using the auto-cycle if that helps at all.

Thanks!

Hi @Hristian, we were able to figure it out. Thanks for trying out the link.

Userlevel 7
Badge +3

Hi @justinek,

It works for me if you have in mind the testimonial slider.

Best,
Hristian

Hi Unbounce Team,

I tried setting up a clickable carousel according to the video above, but it doesn’t seem to be working. here is the link to the published page: https://get.justsift.com/test/. The buttons click, however, it doesn’t advance to the new slides.

Userlevel 7
Badge +1

Hi @Chelsa_Anderton you might be having the same issue that we saw here. Check out this workaround and let me know if it solves it.

Image Carousel Box Widget Not Working

Hi @UnbounceTechTeam I’ve put in the code and everything looks right (I’ve double checked everything I think!!) but it’s still only showing one testimonial. http://www.ezarc.co/

Userlevel 7
Badge +1

😂 I’ll call it a long year! Use this button:

Call it a long day, but how do I break it off into a new thread?

Userlevel 7
Badge +1

Thanks Madison, can we turn this into its own topic so that it doesn’t ping each participant in this thread? I’m taking a look and I can try to help you diagnose the issue but it’ll be easier in its own thread 🙂

I’ll keep an eye out!

@Jess Thank you for your reply. I have the carousel built in a “section” and I have a Main Box for the carousel. I then have each “Slide” within the Main Box. When published and previewed, it only shows the first “Slide” which fades away, then nothing else shows.
Screen Shot 2020-08-06 at 4.25.09 PM|404x230

I am using the Auto Play Script Code (Inserted in before body end tag):

/*
Unbounce Community :: Tips & Scripts :: Carousel With A Box Widget
TS:0002-04-063
***********************
Do not remove this section. It helps our team track useage of external workarounds.
*/

  // jQuery 2.2.4 requierd
  // CDN link here - https://code.jquery.com/
$(function() { 
  // Add a box to the page and nest the elements inside (can include boxes with grouped content)
  // The first element that is nested in the containing box will be what shows on page load
  // Add ID of box containing elements. 
  var container = $("#lp-pom-box-362");
  // Add the amount of time before the element switches. EX: 2000 = 2 seconds
  var time = 2000; 
  // code to select and centre elements 
  container.children().css({
                        'top': '50%',
                        'left': '50%',
                        'transform': 'translate(-50%, -50%)'
                           });
  var allEls = container.children().not(":eq(0)");
  var notFirst = allEls.not(":eq(0)");
  notFirst.css('display', 'none');
  // Function to cycle through the elements in the containing box and show/hide them  
  function ShowEls(el, delay) {
    $(el[0]).fadeIn(300)
	    .delay(delay)
	    .fadeOut(300)
	    .promise()
	    .done(function() {
	      var putBack = el.splice(0, 1);
	      if (el.length >= 1) {
	        ShowEls(el, delay);
	        allEls.push(putBack[0]);	             
	      }
	    });
    }
  ShowEls(allEls, time); 
});
</script>

As well as the JQuery (Insert in the Head) I’ve tried both this script and the newer version script:

<script>
  src="https://code.jquery.com/jquery-2.2.4.min.js"
  integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
  crossorigin="anonymous"></script>

Hope that is all helpful information!

Userlevel 7
Badge +1

Hey @MadisonMain and @Sabina_Sandorova 👋

The easiest way to get answers here:

  1. Create a new post
  2. Share your code snippet
  3. Share any relevant screenshots

That way other community members can help you out a bit more easily as they can’t see your code from just your LP URL.

I’ll keep an eye out for your posts!

-Jess

I know this is from roughly 3 years, but hoping someone still checks comments here! I just uploaded the scripts to my unbounce page and created my 5 “slides” all housed in a main box in the section. When I preview, it begins to cycle through the slides, but only shows the first one, and it never cycles back. My test page can be found here: http://unbouncepages.com/beerwerks-test/

Hello,

I am trying to fix for hours why my carousel on click is not working :{

Please can you check https://www.zusammen.io/ ?

I followed this tutorial, everything seems to be correct.

Reply