LoginGet started — it’s free
Made in Webflow

Randomly Order Cards (with CMS)

Clone in Webflow183
Joshua Fry's avatar
by Joshua Fry
1.7k
site profile thumbnail

Description

This is an example of how to randomly order content on each refresh using custom code. I tried this because the standard random order setting in the CMS wasn't giving a new random order every time (this seems to have been improved now but maybe is still not consistent). Just showcasing because I've seen it requested but was an experiment, may update it a bit later but you can clone it to see how it works. My example was for when I get a chance to work on some music stuff, pick one or two things I'm going to do at random. You can see in the custom code there is a class name which has to be assigned to the cards. There's also an non-cms version at /nocms

Feeling inspired?

If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.
randomexperimentexampletest

More by Joshua Fry

See profile
View details
Overlapped Header Effect
80
202
© 2022 Webflow, Inc. All rights reserved.