Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

carousel js library/plugin

Featured Replies

Hi

Could you recommend a js/css library for a carousel that would slide divs? There's a wordpress plugin that I used. I liked it because it'd let you slide a whole div (not just images) so you could really have a slidershow of any elements. Now, the plugin is a bit big with lots of unnecessary (for me) functions so I thought I'd just use the jQuery library behind it and create something simpler. The jQuery library behind the plugin is OwlCarousel2. When I visited their github, the readme says that's dead and recommends using another library. When I visited their github issues page, it does not look like it's in active development either any more.

I'm after something like that where there are cards of divs that slide:

https://owlcarousel2.github.io/OwlCarousel2/demos/basic.html

Would you recommend any library to create a slideshow/carousel that is in active development?

 

Thank you

 

I wouldn't recommend any sort of carousel.

The UX is generally poor, especially so on a phone which is the device of choice for many.

Far better to just display the key marketing message and let the visitor decide what they want to use next.

But if you really want to use one, I've used this before: https://kenwheeler.github.io/slick/

17 hours ago, portia79 said:

Thanks. I'm against this stuff as well but the client is insisting on a carousel.

Show them these:

http://shouldiuseacarousel.com/

https://cxl.com/blog/dont-use-automatic-image-sliders-or-carousels/

https://www.impactbnd.com/blog/why-homepage-carousels-are-bad

There are many more like them. EVERYONE who understand usability will tell you not to use them.

  • Author
16 hours ago, fisicx said:

Show them these:

 

There are many more like them. EVERYONE who understand usability will tell you not to use them.

Thanks for that!

18 hours ago, fisicx said:

I wouldn't recommend any sort of carousel.

The UX is generally poor, especially so on a phone which is the device of choice for many.

Far better to just display the key marketing message and let the visitor decide what they want to use next.

 

Isn't it really worth finding out what he's using it for before dismissing it?  A carousel could be exactly the thing that the OPs users want.

A poorly built carousel has bad UX.  A well built one used in the right setting has great UX, this is especially on a mobile - Netflix, Prime etc have carousels on their mobile offering, as do the majority of native mobile apps.  It's a great patten when used effectively.

We increased our conversion by about 3% (doesn't sound much but equates to £1000s per year) at Moonpig by swapping a tile layout section into a carousel on our landing pages.

Poor usage of something doesn't mean that it's inherently a bad pattern, same goes for modals.  Can be very useful, but also can be an annoyance.  It's knowing how and when to use these things.

I would 100% avoid a WordPress plugin for this, WP should be concerned with the content and not how it is displayed, you just want a list of items coming back from WordPress and your frontend can render those as tiles, or in a carousel - however you want them.  The Carousel @fisicx suggested looks fine, for most cases that aren't using a frontend framework like React.

  • Author

Thanks for the response. I suggested to the client to remove the carousel and use static content. That would be my personal preference (even without your suggestions). The client insists on their photos (not stock), which is great but the photos are very poorly shot in terms of framing (I'm going to open another thread about that). Some are portrait, some landscape and the client wants only certain portions of each to be actually visible so it's a nightmare even without a carousel.

It's basically 8 technology related photos (photos of some instruments in a lab) and a one or two sentence description for each.

I'm still waiting for their decision.

Edited by portia79

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.