Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Aug 17, 2020

Vary repeater style dynamically

Hi everyone, I'm new to this platform but I can't seem to find a way to do this. An example would be a news site where articles are displayed in order of date/time added. However, I might want to dynamically change the layout or style based on whether an article is "sport", "world news", "weather", etc.

In other sites I might have done something as simple as injecting a variable into the ID of an element for styling through CSS. Is something possible like this through the repeater? It seems that the layout requires all elements to display identically although I can't see any real reason why this must occur.

Assistance would be much appreciated!

Editor X

Design your boldest creations.