mercredi 17 juin 2020

conditionally apply two different classes in liquid file --not working properly

I have a scenario where two IF conditions in class attribute is breaking the functionality.

only one IF conditions is working perfectly without breaking the functionality.

<li class=" ">  
  ..........
</li>

Here class attribute has two IF conditions. I want a way where without two IF conditions, we can achieve the same scenario in liquid template.

Aucun commentaire:

Enregistrer un commentaire