Thank you very much again @tuanphan this code works perfectly fine on my website.
Moreover, i need to add a CSS right after the caption. I succeed to do so but only without your code 😢
Meaning i cannot show the caption text + my CSS (a red or green small circle) only on lightbox like your code.
Would you be able to update your code in order to let this CSS works ?
#dispo::after{
content:"●";
color:green;
}
#pasdispo::after{
content:"●";
color:red;
}
With this code i can write on description field of the image if one painting is available (dispo in french) or not (pasdispo in french) 😎.
Cheeerz !