Categories in Cards

IMPORTANT: Although active on our production servers, this functionality is subject to change with feedback from our development partners.

Background

We often asked about adding labels and icons that represent categories (that you can set up in your Staylists account) to card overviews in collection view.

And it’s a nice idea, but everybody would have a different opinion of how they’d like them styled and positioned. So instead we just give you some empty divs to to play with.

Code

Every property card will have this syntax (providing you have set up some categories and allocated some properties to those categories):

<div class="card__property-categories">
  <div class="work-friendly events-and-celebrations golf-breaks"></div>
</div>