Change the color of my collection

Hi !

How I can edit the color of background on my collection in Glidepage ?

If “Statut” is “Disponible”, the background of the card is green
If “Statut” is “En route”, the background of the card is red

Thank you !

You could use a color emoji or an ‘Image from Color’ column to get an image that you can display in your cards.

Bonjour Damien, bienvenue à la communauté Glide.

Comme le suggère Jeff, dans votre cas j’utilise les couleurs du feu rouge sous forme d’emojis. Les emojis que vous trouverez dans Whatsapp ou Emojioedia par exemple. J’inclus alors ces emojis dans du texte via une colonne template ou if-then-else.

:red_circle: Rupture de stock
:orange_circle: En route
:green_circle: Disponible

1 Like

D’accord, merci pour votre réponse !

Donc à part rajouter un émoji, il n’y a aucun moyen (même CSS) de modifier le background individuel des cartes ?

1 Like

Mes recommandations seraient :

  • emojis dans du texte
  • une image

C’est peut-être possible avec du CSS, mais même si c’était possible j’éviterais.

@Lucas_Pires @ThinhDinh @Uzo

I see that it’s an NPO project, and I’m pretty sure NPO licenses don’t have the ability anymore to modify the CSS of pages?

1 Like

I’m not even sure if it’s possible with CSS, but I don’t do much CSS anymore.

2 Likes

Same. Only simple HTML when needed

2 Likes