My website for pop up camp sites is heavily controlled via datasets. I am a complete noob with velo and code in general having only dabbled in HTML CSS overrides etc.
My question is can I have a button / box / text colour change in a repeater, based on a certain boolean ticked in my dataset?
We have 3 different types of sites, Pop up sites, Pop up holiday sites and Special events. I have booleans in my dataset for all three as I used them to filter data on various pages. I would like to be able to change the colour of an object based on which one is ticked. i.e. If Special Events is ticked then the box is orange and if Pop up sites is ticked then the box is blue.
I know what I want to achieve but I just don't know where to start. I've done some reading but I am really struggling with knowing where to begin in the code.
If anyone can help me it would be greatly appreciated.
Yes it is possible to colorize ELEMENTS inside your repeater.
Take a look onto the following example...
https://www.media-junkie.com/simple-repeater
Click onto one of the BOXES inside REPATER.