April 20, 20206 yr 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
April 20, 20206 yr 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/
April 20, 20206 yr Author Thanks. I'm against this stuff as well but the client is insisting on a carousel.
April 20, 20206 yr Just a quick tip on Slick, they have the aria-roles a little mixed up according to lighthouse so you might want to fix it for production.
April 20, 20206 yr 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.
April 20, 20206 yr 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!
April 21, 20206 yr 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.
April 24, 20206 yr 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 April 24, 20206 yr by portia79
Create an account or sign in to comment