In cart-liquid-template I have changed the below line:
to:
By doing so the custom line items have specific class names. This works great when the page is first loaded however if I update the product qty in the cart the classes all get removed. I assume the line item is updated via ajax and results in custom code from not being added.