I can theme several elements of the Views Carousel, but I cannot get more than 1 image to display. The other images are loading (the carousel will scroll) but I cannot get them to display!

the site is: http://www.mrnormstutoring.com/home

any help is greatly appreciated!

Comments

frednwright’s picture

Update - after a couple of hours struggling, I got this working. I'll post the solution here in case someone else has a similar problem. In the words of one designer - "Views Carousel takes 2 minutes to install, but 2 hours of CSS to make it work." Hopefully this will save you some time.

Here's my set up:

1. I created a content type that has imagefield photos (also used ImageCache to make the photo size I wanted displayed), and installed the Views Carousel and jCarousel modules and set up the View just like Bob did in the video tutorial that is referenced on the Views Carousel project page. I used the ImageCache preset in the View to display my photo field. I'm using the Tango skin.

2. So much for the easy stuff - It would not display properly no matter how much I themed it!

Here's the trick for me. The CSS elements have to be in a certain order. Here's the proper order (item, clip, container):

.jcarousel-skin-tango .jcarousel-item-horizontal {
height:220px;
width: 230px;
}
.jcarousel-skin-tango .jcarousel-clip-horizontal {
height:220px;
width: 850px;
}
.jcarousel-skin-tango .jcarousel-container-horizontal {
width: 855px;
}

Also, you must have the "Visibility" setting turned off in the Views Carousel settings in your view.

That's what made it work for me - again the url is www.mrnormstutoring.com

Sid_M’s picture

That definitely helped. Thanks!

mfer’s picture

Status: Active » Fixed

I believe this is fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

voughndutch’s picture

I am having this issue, I have modified the css via sweaver. Everything was fine until I upgraded to views 3. Now only one item shows, this is after the usual unordered list preload were everything in the carousel shows then when the view is read \y only one item shows. Need help with this. I need views 3 for infinite pager.